GDML back to FreeCAD workflow #165
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
|
Thanks for reporting. Okay I tried to create a test file but for some reason this is ignoring the physvols, which is bug with import I am not currently spotting. I also changed so that the it uses the first physvol as world, this had a problem so I have refactored the GDMLSphere object code, Are you able to test the branch makeConeFix ? Are you able to supply your test file? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
With refactored GDMLObject Sphere |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
As you already have the GDML workbench installed you should in a Command Line window be able to go to the FreeCAD.....Mod directory (location depends on OS and install) From the Mod directory cd GDNL Restart FreeCAD. I need to do some checks and will try to merge Friday, if you can wait. |
Beta Was this translation helpful? Give feedback.
-
|
Okay we have a test suite at https://github.com/KeithSloan/FreeCAD_GDML_Test_Collection. Just ran calcCenterOfMass.py on the testShell flie |
Beta Was this translation helpful? Give feedback.
-
|
Refactored GDMLSphere merged to Main. |
Beta Was this translation helpful? Give feedback.




Okay corrected - my silly mistake in test file.
Is this any better with refactored GDMLSphere?
Are you wanting to create one shape from all the spheres?
What format do you need for the other physics.
Have also exported to step if that helps?
testShell.zip