Product help with community knowledge

### Page statistics

286 views1 edit(s)21338 characters(s) Page last modified 18:05, 15 Jan 2013 by contentconnector

# Planar Profile <PlanarProfile>

1. 1. Synopsis
2. 2. Mixins
3. 3. Canonicals
4. 4. Parameters
5. 5. Group Rules
6. 6. Example 1
7. 7. Example 2

## Synopsis

A PlanarProfile is planar region enclosed within an outer boundary curve, and may have inner "hole" boundaries. It is typically used to form profiles for extruding, revolving, or sweeping. Although most designs which require a profile can simply take a set of curves defining the profile, PlanarProfile is the only Design that allows holes to be created within the profile. PlanarProfile also allows a greater variety of creation methods, such as planar sections through solids.

## Mixins

PlanarProfileModifier

SurfaceMixin

InkStrokedMixin

## Canonicals

Name Type Description
curves list A list of curves forming the outer boundary of the profile.
holes list A list of lists of curves, with each sub-list forming the boundary of a hole in the profile. Holes are subtracted from the region formed by the outer boundary, so they may cross the outer boundary.

## Parameters

Name Type Description
solid part A solid to be intersected by a plane to define a profile.
plane part A plane Part defining the sectioning plane.
planePoint point A point defining a plane as an alternative to providing a plane.
planeNormal vector A normal for a plane as an alternative to providing a plane.

## Group Rules

<solid_plane (solid Plane)> If solid and plane are provided, then the profile is defined by the intersection of the plane and the solid.

<solid_planePoint_planeNormal (solid planePoint planeNormal)> An alternative to providing a plane is to provide the plane definition point and normal.

## Example 1

 Name: planarProfile_Ex01 Design: acDrawingDocument
 Child Name: polygon_1 Child Design: :Polygon Name Type Supplied pointList list {point(0,0,0), point(3,0,0), point(0,4,0)} color string "red" lineWidth string "Heavy"
 Child Name: rectangle_1 Child Design: :Rectangle Name Type Supplied height number 3 width number 2 v00 point point(1,1,0) color string "jungle green" lineWidth string "Heavy"
 Child Name: result Child Design: :PlanarProfile Name Type Supplied curves list {polygon_1} holes list reference to undefined name 'rectangle_1' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)```Callstack: at Inventor_ETO/enu/2013/Help/0001-Inventor1/0386-Library_386/0399-AutoCAD_399/0406-Designs406/0424-Curves424/0433-Planar_P433 MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException: reference to undefined name 'rectangle_1' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptVar expr, DekiScriptExpressionEvaluationState state) [0x00000] in :0 at MindTouch.Deki.Script.Expr.DekiScriptVar.VisitWith[DekiScriptExpressionEvaluationState,Range] (IDekiScriptExpressionVisitor`2 visitor, DekiScriptExpressionEvaluationState state) [0x00000] in :0 at MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit (MindTouch.Deki.Script.Expr.DekiScriptReturnScope expr, DekiScriptExpressionEvaluationState state) [0x00000] in :0 ``` color string "dandelion"

## Example 2

 Name: planarProfile_Ex02 Design: acDrawingDocument
 Child Name: profile Child Design: :Arc Name Type Supplied center point Me.origin 5 number "red" color string "plum" lineWidth string "Heavy"
 Child Name: topTrim Child Design: :Rectangle Name Type Supplied height number 1/2 * profile.radius width number profile.diameter eTop point profile.origin + Me.unitY * profile.radius color string "red" lineWidth string "Heavy"
 Child Name: slot Child Design: :Rectangle Name Type Supplied height number 1.5 width number 2/3 * profile.diameter center point profile.center color string "apricot" lineWidth string "Heavy"
 Child Name: planarProfile_1 Child Design: :PlanarProfile Name Type Supplied curves list {profile} holes list {{topTrim}, slot.lines}
 Child Name: result Child Design: :ExtrudedSolid Name Type Supplied extrudeDirection vector Me.unitZ height number 1 profile part planarProfile_1 color string "green blue"