[An...] Posted October 6 Share Posted October 6 Hallo, Ich versuche aus einer Punktkomponente die punkte mit X Y Z Koordinaten und Normalenvektor über ein Skript einen Flächenpunkte zu erstellen. Liebe Grüße André Link to comment Share on other sites More sharing options...
[Mo...] Posted November 12 Share Posted November 12 Hello Andre, here is a sample for the code import gom import os MCAD_ELEMENT = gom.script.primitive.create_surface_point( name='Point 1', normal={ #normal to z 'direction': gom.Vec3d(0.0, 0.0, 1.0), 'point': gom.Vec3d(0.0, 0.0, 0.0), 'type': 'projected' }, point={ 'coordinates': gom.Vec3d(-129.2868327, -194.2263868, 23.06342855), 'id': 0, 'target': gom.app.project.actual_elements['Component 1'], 'type': 'coded' }, properties={ 'property1': 'value1', 'property2': 'value2', } Regards Mohamed Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in