-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #641 from dxdc/patch-1
Dashed bonds for bond order < 1
- Loading branch information
Showing
6 changed files
with
135 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
/*@div | ||
<div style="width: 400px; height: 400px; position: relative;" | ||
class='viewer_3Dmoljs' | ||
data-element='moldata' | ||
data-backgroundcolor='0xffffff' | ||
data-style='stick' | ||
data-type="sdf"></div> | ||
*/ | ||
|
||
/* | ||
@data | ||
<textarea style="display: none;" id="moldata"> | ||
Molecule002 | ||
Mrv1903 01162316393D | ||
6 5 0 0 0 0 999 V2000 | ||
0.4761 0.1839 -0.9563 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.1475 -0.2251 0.0075 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-0.8612 -0.6549 0.0499 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.5167 0.2726 0.9131 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1.3194 -2.0204 0.0676 Cl 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-1.5985 2.4439 -0.0818 Br 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1 2 8 0 0 0 0 | ||
2 4 8 0 0 0 0 | ||
2 3 8 0 0 0 0 | ||
2 6 0.5 0 0 0 0 | ||
2 5 0.03 0 0 0 0 | ||
M END | ||
> <anyBondsFromCoords> | ||
true | ||
$$$$ | ||
</textarea> | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
/*@div | ||
<div style="width: 400px; height: 400px; position: relative;" | ||
class='viewer_3Dmoljs' | ||
data-element='moldata' | ||
data-backgroundcolor='0xffffff' | ||
data-style='{"stick":{"dashedBonds": true, "dashedBondConfig": { "dashLength": 0.01, "gapLength": 0.05 }}}' | ||
data-type="sdf"></div> | ||
*/ | ||
|
||
/* | ||
@data | ||
<textarea style="display: none;" id="moldata"> | ||
Molecule002 | ||
Mrv1903 01162316393D | ||
6 5 0 0 0 0 999 V2000 | ||
0.4761 0.1839 -0.9563 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.1475 -0.2251 0.0075 C 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-0.8612 -0.6549 0.0499 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
0.5167 0.2726 0.9131 H 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1.3194 -2.0204 0.0676 Cl 0 0 0 0 0 0 0 0 0 0 0 0 | ||
-1.5985 2.4439 -0.0818 Br 0 0 0 0 0 0 0 0 0 0 0 0 | ||
1 2 8 0 0 0 0 | ||
2 4 8 0 0 0 0 | ||
2 3 8 0 0 0 0 | ||
2 6 0.5 0 0 0 0 | ||
2 5 0.03 0 0 0 0 | ||
M END | ||
> <anyBondsFromCoords> | ||
true | ||
$$$$ | ||
</textarea> | ||
*/ |
Binary file modified
BIN
-2.24 KB
(91%)
tests/glcheck/reference-images/tests-glcheck-render-tests-partialbonds.html.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.6 KB
tests/glcheck/reference-images/tests-glcheck-render-tests-partialbonds2.html.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.1 KB
tests/glcheck/reference-images/tests-glcheck-render-tests-partialbonds3.html.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.