I did read tha API transformation, but still cant get how exactly can I get the position
Assume I want to draw an edge from the (o,o,o) Point to the component position, what should I type in the ruby?
thank a lot
I did read tha API transformation, but still cant get how exactly can I get the position
Assume I want to draw an edge from the (o,o,o) Point to the component position, what should I type in the ruby?
thank a lot
Hey
How can I get the position of some ComponentInstance (which appear in the model) by the ruby?
thank a lot
When i type ans=Geom.Point_in_polygon_2d point,points the result is:
Error: #<NoMethodError: (eval):54: undefined method `point_to_polygon_2D' for Geom:Module>
anyone?
when I load a rb file in the ruby console windows,hoe can I remove a func which was loaded by the file?
I mean, when i run a script, and after the running i change the source of the script, even if I load again by "load" command, the change I have done, doesnt take affect
What to do?
Hey
I made a script which add to the model a lot of faces.
But, since the real painting is made only after the script is finished, the result is a operation of drawing like 80 faces in one time, what make the SKP to freeze and fail.
How can I add to my ruby script a command which force the model to paint the new face immediately and not to wait till the end.
Thenk a lot