Personal tools
You are here: Home Forum Use GEOM: How to create a 3D model of tubing wrapped into a helix

GEOM: How to create a 3D model of tubing wrapped into a helix

Up to Use

GEOM: How to create a 3D model of tubing wrapped into a helix

Posted by JMB at March 10. 2012

Hello,

I would like to create a tubular helix, but I am wondering how this can be done in Salome 6+.  Any suggestions for a script?  As a learning tool, I tried running the script suggested by Erwan ADAM in http://www.salome-platform.org/forum/forum_10/472665359#700747672 but it crashes in Salome 6.3.1 with an error: 

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/..../testExtrusionPath.py", line 51, in <module>
    Fillet = geompy.MakeFuse(Fillet, obj)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 2697, in MakeFuse
    return self.MakeBoolean(s1, s2, 3)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 2672, in MakeBoolean
    RaiseIfFailed("MakeBoolean", self.BoolOp)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 93, in RaiseIfFailed
    raise RuntimeError, Method_name + " : " + Operation.GetErrorCode()
RuntimeError: MakeBoolean :

Any help is appreciated!

Regards, JMB

Re: GEOM: How to create a 3D model of tubing wrapped into a helix

Posted by Erwan ADAM at March 12. 2012

Previously JMB wrote:

Hello,

I would like to create a tubular helix, but I am wondering how this can be done in Salome 6+.  Any suggestions for a script?  As a learning tool, I tried running the script suggested by Erwan ADAM in http://www.salome-platform.org/forum/forum_10/472665359#700747672 but it crashes in Salome 6.3.1 with an error: 

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/home/..../testExtrusionPath.py", line 51, in <module>
    Fillet = geompy.MakeFuse(Fillet, obj)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 2697, in MakeFuse
    return self.MakeBoolean(s1, s2, 3)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 2672, in MakeBoolean
    RaiseIfFailed("MakeBoolean", self.BoolOp)
  File "/opt/Salome-V6_3_1_public_64bit/SALOME6/V6_3_1/GEOM_V6_3_1/bin/salome/geompyDC.py", line 93, in RaiseIfFailed
    raise RuntimeError, Method_name + " : " + Operation.GetErrorCode()
RuntimeError: MakeBoolean :

Any help is appreciated!

Regards, JMB

Indeed, the script crashes with 6.3.1 ... but it works with 6.4.0.
You can update your version unless you have a good reason to keep 6.3.1
Regards, E.A.

 

Powered by Ploneboard
Document Actions