-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RobotModel SceneObject with Python3 in Rhino8 #1356
Conversation
Python3 compatibility
hi @gidodielemans, could you introduce the interesting contribution a little? something that comes to mind is that a conditional code path may seem relevant: the suggested changes might be incompatible with earlier versions? -- the joy of reading Rhino 8 & python 3 -- so blissful! |
hi @jf--- , We have noticed that the compas.scene.SceneObject related to the compas_robots.robot.model.RobotModel is not able to be visualized with the Py3 version in Rhino8, the IronPython2 version is able to. Now there are three issues we encountered:
Now i have to verify registration of the RobotModelObject on a separate machine as maybe this has stuck even though i reverted this part of the code (as it seemingly works without). Though the fix here references step 3. With regard to your question on PipeCapMode, I do not know if this is a Rhino8 addition, if so, then yes we would need a conditional to check for the Rhino version. My attempt was solely to remove the System dependency. Hope this helps :) |
Hi again @tomvanmele, Thanks for the feedback! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, LGTM
done :) |
@gidodielemans ah! You should add yourself to the author's list! Maybe send another tiny PR to add you? |
If you insist, I didn't think I deserved credit for such a tiny change. |
Rhino Python3 compatibility
What type of change is this?
Robot scene objects were not working in the Python3 version of Rhino8
Python3 does not have access to the System module
Checklist
CHANGELOG.md
file in theUnreleased
section under the most fitting heading (e.g.Added
,Changed
,Removed
).invoke test
).invoke lint
).compas.datastructures.Mesh
.