- Skin(Operation, Walled, Thin1, Thin2)
Arguments
Note that some combinations of arguments may not be valid. The restrictions are the same as when creating a Sweep interactively.
- Operation: This is also referred to as Material Types. It refers to the desired operation- agc.Add- agc.Cut- agc.Slice- agc.Imprint- agc.Frozen
- Walled: Switch for thin solids or surfaces- agc.Yes- agc.No
- Thin1: Thickness inside profile
- Thin2:Thickness outside profile
Properties
Note that the acceptable values for these properties are shown above. The same restrictions and argument types apply here as when creating the Revolve.
Functions
- ClearSketches (): Allows you to clear all profiles in the skin.
- AddBaseObject (Profile): Allows you to add a profile to the skin. The profile should be an existing sketch, plane outline, or named selection.
- RemoveBaseObject (Profile): Allows you to remove a profile from the skin. The profile should be an existing sketch, plane outline, or named selection in the skin.
- SwapSketches (Index1, Index2): Swaps the order of two profiles of the skin. The index values are counted starting with 0 as the first profile. So if there were four profiles and the middle two needed to be swapped, use index values of 1 and 2.
- ModStartVertex (Profile, Edge, Vertex): Defines the start/connection location of a profile in the skin/loft. The profile should be an existing plane outline in the skin. The edge should be an edge in that sketch and Vertex should be a 1 to use the start of the edge or a 2 to use the end of the edge. Connecting vertices are computed automatically, but this gives you control if necessary. This is similar to "Fix Guide Lines" in the interactive definition.
Example
//Create Skin from sketches in 4 offset planes var Skin1 = agb.Skin(agc.Add, agc.No, 0.0, 0.0); Skin1.Name = "Point2OvalSkin" Skin1.AddBaseObject(ps1.Sk1); Skin1.AddBaseObject(ps2.Sketch2); Skin1.AddBaseObject(ps3.Sketch3); Skin1.AddBaseObject(ps4.Sketch4); agb.Regen(); //To insure model validity