Jump to content

Increase mesh selection (Multipart scanning)


Recommended Posts

Dear forum Members,

We are scanning several pieces at the same time and we need to increase de volume of the automatic mesh selection generated by the software. We have tried to generate a cube to select the scanned mesh, but the position in which the cube is generated does not match that of the CAD. Can anyone help us increase the mesh selection?

Thank you, 

Mikel

 

GOM.PNG

Hi,

this can only be achieved by scripting:
 

# Example for modifying an existing cube selection -> 
# box_selection_scaling is optional, box_coordinate_extension is also optional
# at least one of the parameters should be set

# Do it by scaling for all axes the same scaling factor: 30% bigger than the bounding box of the CAD
gom.script.atos.set_box_selection_scaling_for_polygonization (box_selection_scaling=1.3,
	part=gom.app.project.parts['PartName'])

# Do it by extending with absolute values (in mm) for all three axes
gom.script.atos.set_box_selection_scaling_for_polygonization (
	box_coordinate_extension = gom.Vec3d (10, 5, 10),
	part=gom.app.project.parts['PartName'])

Hope this helps?!

  • Like! 1
  • 1 year later...

Please sign in to view this quote.

I know it has been a while since this post was made, is there a variable i can use for 'Part Name' that will allow me to grab the part name from multiple parts in the program? My concern being, the part name changes in the program to reflect the export name of the mesh. 

×
×
  • Create New...