Skip to content

26 sep - #227

Merged
egonw merged 13 commits into
masterfrom
26Sep
Oct 15, 2025
Merged

26 sep#227
egonw merged 13 commits into
masterfrom
26Sep

Conversation

@johnmay

@johnmay johnmay commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

A few odd fixes here and there, most of them are self explanatory (e.g. default H count for pseudo atoms and atom color). The slightly tricky one and need a new API point (moveBy didn't have enough info passed in) is that we can now snap and already placed atom to fixed increments.

I added this already to newly placed atoms and if you select the bond and rotate it. Now if you just pick up a single atom it does it as well. As I show later in the video you can hold "alt" to get the "freeform" movement if needed. I did also experiment with also allowing the length to change and snapping to fixed increments but it didn't seem to flow correctly so took it out.

Screen.Recording.2025-09-29.at.10.01.02.mov

All the other cool thing is alt+space will select the ring/chain under the cursor. See below how I can quickly now grab the hold ring system and rotate it as needed.

Screen.Recording.2025-09-29.at.10.06.50.mov

@johnmay
johnmay force-pushed the 26Sep branch 2 times, most recently from 8c7e40d to 53f2121 Compare October 2, 2025 09:06
@johnmay

johnmay commented Oct 2, 2025

Copy link
Copy Markdown
Contributor Author

Final commit now depends on CDK cdk/cdk#1235 since I needed to move some InChIReaders.

@johnmay

johnmay commented Oct 4, 2025

Copy link
Copy Markdown
Contributor Author

This is good to go now the InChI reader movement is merged in. I am tempted to rewrite the CMLWriter in CDK or at least provide an alternative as it would nearly half the size of the JChemPaint application.

@johnmay

johnmay commented Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

@egonw are you able to take a look at this when you have time - thanks

@egonw

egonw commented Oct 15, 2025

Copy link
Copy Markdown
Member

Sorry, missed this one. Thanks for the ping. I will check it today

@egonw
egonw merged commit de023b6 into master Oct 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants