Personal tools
You are here: Home Forum Use script fails

script fails

Up to Use

script fails

Posted by Francesco at November 12. 2012

Dear All ,

i am trying to run the attached script but Salome gives me attached error.

For some reason the creation of fuse_00025 (line 130) is not performed correctly and the resulted fuse_00025 has lost some cylinders and has some spourious surfaces. If i decrease the accuracy of the vertex position and I define the vertexes in +-0.707 instead of .7071 the script crashes few lines after.

Does any one sees my same problem? Does anyone see a mistake in the script or know how to solve the problem?

thank you in advance...

francesco

p, li { white-space: pre-wrap;

Traceback (most recent call last):

File "<input>", line 1, in <module>

File "/home/flucci/WORK/3Dmodels/GRIDGenerator/structure3.py", line 133, in <module>

fuse_00026 = geompy.MakeFuse(fuse_00025 ,cylinder_00026 )

File "/home/flucci/Programs/Salome/appli_V6_5_0p1/bin/salome/geompyDC.py", line 4967, in MakeFuse

return self.MakeBoolean(theShape1, theShape2, 3)

File "/home/flucci/Programs/Salome/appli_V6_5_0p1/bin/salome/geompyDC.py", line 4901, in MakeBoolean

RaiseIfFailed("MakeBoolean", self.BoolOp)

File "/home/flucci/Programs/Salome/appli_V6_5_0p1/bin/salome/geompyDC.py", line 95, in RaiseIfFailed

raise RuntimeError, Method_name + " : " + Operation.GetErrorCode()

RuntimeError: MakeBoolean : Fuse operation can not be performed on the given shapes

Attachments
Powered by Ploneboard
Document Actions