Browsed by
Tag: 2D

Equation Sketcher

Equation Sketcher

Compatible with WizoScript 3.00 and later.

Enter a formula and a Bspline is added to your chosen sketch with the mathematical shape. X and Y can be swapped if needed. The number of points for calculation is controllable. The start of the line is offset to begin at a node manually placed on the sketch before running the script.

Speaker Grille from Bitmap Image

Speaker Grille from Bitmap Image

Compatible with WizoScript 3.00 and later.

This script takes an image and looks for the black pixels. It then creates a set of holes in the same pattern as the black pixels.

Polygon Incircle

Polygon Incircle

Compatible with WizoScript versions: 2.51

Polygons in Geomagic Design can be defined by an “exterior” or “interior” circle. The interior circle is typically used for bolt heads. The circle is called an “incircle”. This script shows how to draw a polygon by defining the incircle diameter.

Triangle

Triangle

Compatible with WizoScript versions: 2.51

Simple sketch of a triangle with angles 90, 15, 75 degrees.

Slice a Part

Slice a Part

Compatible with WizoScript versions: 1.95

Slices a part at a plane called “Slice”

Scaling a Sketch

Scaling a Sketch

Compatible with WizoScript versions: 1.70

Creates a copy of a sketch and scales it to 50% in size

Calculating Length of Polylines

Calculating Length of Polylines

Compatible with WizoScript versions: 1.42

This example adds up the total lengths of all lines in a sketch in a part that is already open.

Parabolic Curve

Parabolic Curve

Compatible with WizoScript versions: 1.42

Creates a parabolic curve from 0cm, 0cm to 15cm, 60cm.

CSV Import with Point Rotation

CSV Import with Point Rotation

Compatible with WizoScript versions: 1.40

The following script shows how to import a set of 2D points from a CSV file, rotate them about a arbitrary point and then add them to a 2D sketch.