12 |
# translation and performing translation then followed by rotation. |
# translation and performing translation then followed by rotation. |
13 |
|
|
14 |
# Create one contour on plane cut instance. |
# Create one contour on plane cut instance. |
15 |
ctropc1 = ContourOnPlaneCut(scene = s, data_collector = dc1, scalar = None, |
ctropc1 = ContourOnPlaneCut(scene = s, data_collector = dc1, |
16 |
viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True) |
viewport = Viewport.SOUTH_WEST, lut = Lut.COLOR, outline = True) |
17 |
ctropc1.generateContours(contours = 8) |
ctropc1.generateContours(contours = 8) |
18 |
ctropc1.setPlaneToXY(offset = 200000) |
ctropc1.setPlaneToXY(offset = 200000) |