public interface AddendumSectionBuilder extends FeatureBuilder
AddendumSectionBuilder
which is used to create or edit an addendum section.
DieCollection.createAddendumSectionBuilder(nxopen.features.Feature)
Modifier and Type | Interface and Description |
---|---|
static class |
AddendumSectionBuilder.SectionLocationType
The settings indicating the location of the section being created.
|
static class |
AddendumSectionBuilder.SectionOrientationType
The settings to indicate the section orientation.
|
static class |
AddendumSectionBuilder.SectionShapeType
The settings to indicate the section shape.
|
static class |
AddendumSectionBuilder.SegmentParameterType
The settings to indicate which parameter of the segment to lock.
|
static class |
AddendumSectionBuilder.SegmentType
The settings to indicate the segment type to update.
|
static class |
AddendumSectionBuilder.SurfaceBuildType
The settings to indicate the surface type.
|
Modifier and Type | Method and Description |
---|---|
double |
angleTolerance()
Returns the angle tolerance.
|
DieAttributesBuilder |
attributes()
Returns the color and string attributes of the section.
|
Section |
byCurves()
Returns the curves used to approximate an addendum section.
|
void |
changeSectionPlane(Curve section,
Direction plane)
Changes the section orientation.
|
ScCollector |
constraintCurve()
Returns the constraint curve.
|
Curve |
constraintCurveToEdit()
Returns the constraint curve to edit.
|
ScCollector |
constraintFaces()
Returns the constraint faces.
|
void |
copySection(Curve section,
boolean copyPlaneData)
Copies addendum section in order to be pasted at another location.
|
Section |
createExtendSection()
Creates a
Section object containing the extended constraint curve. |
void |
createSection()
Create addendum section using previously supplied parameters.
|
void |
createSectionFromReuse(String fileName)
Creates a section using the information stored in the reuse library.
|
Curve |
curveToExtend()
Returns the constraint curve to extend.
|
void |
cutSection(Curve section,
boolean copyPlaneData)
Cuts section in order to be pasted at another location.
|
void |
defaultDraw()
Create default draw vector based upon the input product faces.
|
Section |
deleteExtendSection()
Deletes the
Section used for extended constraint curve. |
void |
deleteSections()
Delete addendum sections from
sections() . |
double |
distanceTolerance()
Returns the distance tolerance.
|
Direction |
drawDirection()
Returns the draw direction.
|
void |
editBlendSection(Curve section,
double radius)
Edit radius value of blend section.
|
Curve |
editedConstraintCurve()
Returns the edited constraint curve.
|
CurveLengthData |
extendData()
Returns the object used to extend the constraint curve which is accessed via
constraintCurve() . |
Expression |
extendEndDistance()
Returns the distance to extend the end of the constraint curve.
|
Expression |
extendStartDistance()
Returns the distance to extend the start of the constraint curve.
|
double |
facetDensity()
Returns the facet density.
|
void |
initializeEditParameters(Curve section)
Initializes environment to start editing parameters of a section.
|
DieLimitsBuilder |
limits()
Returns the limits to control the span of the preview surface
License requirements: None. |
AddendumSectionBuilder.SectionLocationType |
locationType()
Returns the location where the section will be created.
|
void |
lockSegment(Curve section,
AddendumSectionBuilder.SegmentType segment,
AddendumSectionBuilder.SegmentParameterType type)
Lock a segment parameter value.
|
Expression |
maximumPositive()
Returns the maximum positive trim angle.
|
Expression |
minimumDraftAngle()
Returns the minimum draft angle.
|
Expression |
minimumNegative()
Returns the minimum negative trim angle.
|
Expression |
minimumRadius()
Returns the minimum radius.
|
Expression |
minimumTrimLedge()
Returns the minimum trim ledge.
|
Plane |
mirrorPlane()
Returns the mirror plane.
|
void |
mirrorSections()
Mirror sections using plane from
mirrorPlane() . |
void |
moveSectionOrigin(Curve section,
Point3d newOrigin,
int useSectionPlane)
Moves addendum section to a new location.
|
Section |
neutralCurve()
Returns the neutral curve.
|
void |
pasteSection()
Paste section.
|
void |
pasteSectionFromCurve(Curve curve)
Creates a section by reading the section parameters from the input curve and pasting at
the location specified by
sectionPoint()
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") Created in NX7.5.0 |
Expression |
plusLength()
Returns the minimum plus length.
|
ScCollector |
product()
Returns the product faces.
|
void |
recreateSections()
Re-create all existing sections because of a change in the draw direction or product faces.
|
void |
reinitialize()
Reinitialize the environment after changes to input data such as draw vector or product faces
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
replaceConstraintCurve(Curve editedCurve)
Replaces the constraint curve with an edited curve.
|
void |
replaceSectionCurve(Curve section)
Replaces the current section with the edited one.
|
void |
resetSection(Curve section)
Resets the section to the last saved state.
|
AddendumSectionBuilder.SectionOrientationType |
sectionOrientation()
Returns the section orientation.
|
Plane |
sectionPlane()
Returns the section plane.
|
Point |
sectionPoint()
Returns the origin point where the section will be located.
|
SelectDisplayableObjectList |
sections()
Returns the addendum sections to edit.
|
AddendumSectionBuilder.SectionShapeType |
sectionShape()
Returns the section shape.
|
void |
setAngleTolerance(double angleTolerance)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setCurveToExtend(Curve curve)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setDistanceTolerance(double distanceTolerance)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setDrawDirection(Direction punchDirection)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setEditedConstraintCurve(Curve curve)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setFacetDensity(double facetDensity)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setLocationType(AddendumSectionBuilder.SectionLocationType locationType)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setMirrorPlane(Plane mirrorPlane)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setSectionOrientation(AddendumSectionBuilder.SectionOrientationType sectionOrientation)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setSectionPlane(Plane sectionPlane)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setSectionPoint(Point sectionPoint)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setSectionShape(AddendumSectionBuilder.SectionShapeType sectionShape)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setSurfaceBuildMethod(AddendumSectionBuilder.SurfaceBuildType surfaceBuildMethod)
License requirements: die_engineering ("DIE ENGINEERING") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
smoothCurve()
Smooth the constraint curve using the radius supplied by
smoothRadius() . |
Expression |
smoothRadius()
Returns the smoothing radius for the constraint curve used by
smoothCurve() . |
AddendumSectionBuilder.SurfaceBuildType |
surfaceBuildMethod()
Returns the addendum surface build method.
|
void |
terminateEditParameters(Curve section)
Cleans up environment after editing parameters of a section.
|
Expression |
translateDistance()
Returns the translate distance used by
translateWall() . |
void |
translateWall()
Translate the constraint curve in the direction of the last wall segment of the addendum section using the
distance supplied by
translateDistance() . |
void |
trimExtendConstraintCurve(Section constraintCurve)
Trims or extends constraint curve.
|
void |
unlockSegment(Curve section,
AddendumSectionBuilder.SegmentType segment,
AddendumSectionBuilder.SegmentParameterType type)
Unlock a segment parameter value.
|
void |
updateSection(Curve section)
Updates section after editing segments via
updateSegment(boolean, nxopen.Curve, nxopen.die.AddendumSectionBuilder.SegmentType, double, double) . |
void |
updateSectionAttributes(Curve section)
Updates the section attributes.
|
void |
updateSectionsAfterConstraintChange()
Called to update the section when constraint curve or constraint surface is changed.
|
double |
updateSegment(boolean temporary,
Curve section,
AddendumSectionBuilder.SegmentType segment,
double lengthRadius,
double angle)
Updates length or angle value of a segment.
|
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
AddendumSectionBuilder.SectionLocationType locationType() throws NXException, RemoteException
NXException
RemoteException
void setLocationType(AddendumSectionBuilder.SectionLocationType locationType) throws NXException, RemoteException
locationType
- NXException
RemoteException
AddendumSectionBuilder.SectionShapeType sectionShape() throws NXException, RemoteException
NXException
RemoteException
void setSectionShape(AddendumSectionBuilder.SectionShapeType sectionShape) throws NXException, RemoteException
sectionShape
- NXException
RemoteException
AddendumSectionBuilder.SectionOrientationType sectionOrientation() throws NXException, RemoteException
NXException
RemoteException
void setSectionOrientation(AddendumSectionBuilder.SectionOrientationType sectionOrientation) throws NXException, RemoteException
sectionOrientation
- NXException
RemoteException
DieAttributesBuilder attributes() throws NXException, RemoteException
NXException
RemoteException
Point sectionPoint() throws NXException, RemoteException
NXException
RemoteException
void setSectionPoint(Point sectionPoint) throws NXException, RemoteException
sectionPoint
- NXException
RemoteException
Curve curveToExtend() throws NXException, RemoteException
NXException
RemoteException
void setCurveToExtend(Curve curve) throws NXException, RemoteException
curve
- NXException
RemoteException
Curve editedConstraintCurve() throws NXException, RemoteException
NXException
RemoteException
void setEditedConstraintCurve(Curve curve) throws NXException, RemoteException
curve
- NXException
RemoteException
void cutSection(Curve section, boolean copyPlaneData) throws NXException, RemoteException
section
- Section to cut.copyPlaneData
- Indicates whether to copy the orientation plane of the section.NXException
RemoteException
void trimExtendConstraintCurve(Section constraintCurve) throws NXException, RemoteException
constraintCurve
- Constraint curve to modifyNXException
RemoteException
Section deleteExtendSection() throws NXException, RemoteException
Section
used for extended constraint curve.
Section
to delete.NXException
RemoteException
void copySection(Curve section, boolean copyPlaneData) throws NXException, RemoteException
section
- Section to copy.copyPlaneData
- Indicates whether to copy the orientation plane of the section.NXException
RemoteException
void initializeEditParameters(Curve section) throws NXException, RemoteException
section
- Section to edit.NXException
RemoteException
double updateSegment(boolean temporary, Curve section, AddendumSectionBuilder.SegmentType segment, double lengthRadius, double angle) throws NXException, RemoteException
temporary
- Indicates that change to section is temporary in that resetSection(nxopen.Curve)
can be called to undo changes.section
- Section to update.segment
- Segment to update.lengthRadius
- Value for the new Length/Radius of the segment.angle
- Value for the angle of the segment.NXException
RemoteException
void lockSegment(Curve section, AddendumSectionBuilder.SegmentType segment, AddendumSectionBuilder.SegmentParameterType type) throws NXException, RemoteException
section
- Section to update.segment
- Segment to update.type
- Segment parameter to lock.NXException
RemoteException
void unlockSegment(Curve section, AddendumSectionBuilder.SegmentType segment, AddendumSectionBuilder.SegmentParameterType type) throws NXException, RemoteException
section
- Section to update.segment
- Segment to update.type
- Segment parameter to unlock.NXException
RemoteException
void resetSection(Curve section) throws NXException, RemoteException
section
- Section to reset.NXException
RemoteException
void editBlendSection(Curve section, double radius) throws NXException, RemoteException
section
- Blend section to edit.radius
- New radius value.NXException
RemoteException
void replaceSectionCurve(Curve section) throws NXException, RemoteException
section
- Section to edit.NXException
RemoteException
void terminateEditParameters(Curve section) throws NXException, RemoteException
section
- Edited section.NXException
RemoteException
void updateSection(Curve section) throws NXException, RemoteException
updateSegment(boolean, nxopen.Curve, nxopen.die.AddendumSectionBuilder.SegmentType, double, double)
.
This makes permanent the temporary changes so that any future calls to resetSection(nxopen.Curve)
will reset the section to this state.
section
- Section being edited.NXException
RemoteException
Curve constraintCurveToEdit() throws NXException, RemoteException
constraintCurve()
.
and if needed create a non-associative curve to be used by the edit curve functions. The only case where it will
not create a curve is if there is only one non-associative spline on the selection.
NXException
RemoteException
CurveLengthData extendData() throws NXException, RemoteException
constraintCurve()
.
Need to call function createExtendSection()
before calling this function.
NXException
RemoteException
Expression extendStartDistance() throws NXException, RemoteException
NXException
RemoteException
Expression extendEndDistance() throws NXException, RemoteException
NXException
RemoteException
Section createExtendSection() throws NXException, RemoteException
Section
object containing the extended constraint curve.
NXException
RemoteException
void replaceConstraintCurve(Curve editedCurve) throws NXException, RemoteException
editedCurve
- New edited curve to replace existing constraint curve.NXException
RemoteException
void moveSectionOrigin(Curve section, Point3d newOrigin, int useSectionPlane) throws NXException, RemoteException
section
- Section to move.newOrigin
- Point Coordinates of new origin.useSectionPlane
- Non-zero value indicates that the orientation plane of the section is to be kept when the section is moved.NXException
RemoteException
void changeSectionPlane(Curve section, Direction plane) throws NXException, RemoteException
section
- Section to edit.plane
- New section orientation plane.NXException
RemoteException
void updateSectionAttributes(Curve section) throws NXException, RemoteException
attributes()
first in order to set the attributes to be updated.
section
- Section to edit.NXException
RemoteException
void pasteSectionFromCurve(Curve curve) throws NXException, RemoteException
sectionPoint()
curve
- Section to edit.NXException
RemoteException
void createSectionFromReuse(String fileName) throws NXException, RemoteException
fileName
- name of reuse library containing addendum section informationNXException
RemoteException
void updateSectionsAfterConstraintChange() throws NXException, RemoteException
NXException
RemoteException
void mirrorSections() throws NXException, RemoteException
mirrorPlane()
.
NXException
RemoteException
void deleteSections() throws NXException, RemoteException
sections()
.
NXException
RemoteException
void createSection() throws NXException, RemoteException
NXException
RemoteException
void recreateSections() throws NXException, RemoteException
NXException
RemoteException
void pasteSection() throws NXException, RemoteException
NXException
RemoteException
void reinitialize() throws NXException, RemoteException
NXException
RemoteException
Plane sectionPlane() throws NXException, RemoteException
NXException
RemoteException
void setSectionPlane(Plane sectionPlane) throws NXException, RemoteException
sectionPlane
- NXException
RemoteException
Section byCurves() throws NXException, RemoteException
NXException
RemoteException
SelectDisplayableObjectList sections() throws NXException, RemoteException
NXException
RemoteException
Plane mirrorPlane() throws NXException, RemoteException
NXException
RemoteException
void setMirrorPlane(Plane mirrorPlane) throws NXException, RemoteException
mirrorPlane
- NXException
RemoteException
Direction drawDirection() throws NXException, RemoteException
NXException
RemoteException
void setDrawDirection(Direction punchDirection) throws NXException, RemoteException
punchDirection
- NXException
RemoteException
void defaultDraw() throws NXException, RemoteException
NXException
RemoteException
ScCollector constraintCurve() throws NXException, RemoteException
NXException
RemoteException
ScCollector product() throws NXException, RemoteException
NXException
RemoteException
ScCollector constraintFaces() throws NXException, RemoteException
NXException
RemoteException
Expression smoothRadius() throws NXException, RemoteException
smoothCurve()
.
NXException
RemoteException
void translateWall() throws NXException, RemoteException
translateDistance()
.
NXException
RemoteException
void smoothCurve() throws NXException, RemoteException
smoothRadius()
.
NXException
RemoteException
Expression translateDistance() throws NXException, RemoteException
translateWall()
.
NXException
RemoteException
Section neutralCurve() throws NXException, RemoteException
NXException
RemoteException
AddendumSectionBuilder.SurfaceBuildType surfaceBuildMethod() throws NXException, RemoteException
NXException
RemoteException
void setSurfaceBuildMethod(AddendumSectionBuilder.SurfaceBuildType surfaceBuildMethod) throws NXException, RemoteException
surfaceBuildMethod
- NXException
RemoteException
Expression plusLength() throws NXException, RemoteException
NXException
RemoteException
Expression minimumTrimLedge() throws NXException, RemoteException
NXException
RemoteException
Expression minimumRadius() throws NXException, RemoteException
NXException
RemoteException
Expression minimumDraftAngle() throws NXException, RemoteException
NXException
RemoteException
Expression maximumPositive() throws NXException, RemoteException
NXException
RemoteException
Expression minimumNegative() throws NXException, RemoteException
NXException
RemoteException
double facetDensity() throws NXException, RemoteException
NXException
RemoteException
void setFacetDensity(double facetDensity) throws NXException, RemoteException
facetDensity
- NXException
RemoteException
double distanceTolerance() throws NXException, RemoteException
NXException
RemoteException
void setDistanceTolerance(double distanceTolerance) throws NXException, RemoteException
distanceTolerance
- NXException
RemoteException
double angleTolerance() throws NXException, RemoteException
NXException
RemoteException
void setAngleTolerance(double angleTolerance) throws NXException, RemoteException
angleTolerance
- NXException
RemoteException
DieLimitsBuilder limits() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.