public interface MasterCutBuilder extends FeatureBuilder
FeatureCollection.createMasterCutBuilder(nxopen.features.Feature)
Property | Value |
---|---|
CutColor | 193 |
Extrude.SmartVolumeProfile.OpenProfileSmartVolumeOption | 0 |
HatchAngle | 45 |
HatchDistance | 6.0 (millimeters part), 0.236 (inches part) |
MaterialOutsideLoop | True |
UseCutColor | True |
UseCutHatch | True |
UseSaveAs | True |
Modifier and Type | Interface and Description |
---|---|
static class |
MasterCutBuilder.CalcThroughLimitsData
This class holds the data returned from
calcThroughLimits(nxopen.Direction) |
Modifier and Type | Method and Description |
---|---|
MasterCutBuilder.CalcThroughLimitsData |
calcThroughLimits(Direction direction)
Calculate start and end through limit values
License requirements: solid_modeling ("SOLIDS MODELING") . |
int |
cutColor()
Returns the cut face color
License requirements: solid_modeling ("SOLIDS MODELING") . |
ModelingView |
cutView()
Returns the cut view
License requirements: solid_modeling ("SOLIDS MODELING") . |
ExtrudeBuilder |
extrude()
Returns the extrude builder
License requirements: None. |
DisplayableObject[] |
getTargetComponents()
The target components that are cut
License requirements: solid_modeling ("SOLIDS MODELING") . |
double |
hatchAngle()
Returns the hatch angle
License requirements: solid_modeling ("SOLIDS MODELING") . |
double |
hatchDistance()
Returns the hatch distance
License requirements: solid_modeling ("SOLIDS MODELING") . |
boolean |
materialOutsideLoop()
Returns the flag whether or not the material is outside the loop used to create the extruded body
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
recalculateLimits()
Recalculates extrude limits to cut through target components
License requirements: solid_modeling ("SOLIDS MODELING") . |
String |
saveAsName()
Returns the cut save as name
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCutColor(int cutColor)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setCutView(ModelingView cutView)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setHatchAngle(double hatchAngle)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setHatchDistance(double hatchDistance)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setMaterialOutsideLoop(boolean materialOutsideLoop)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setSaveAsName(String saveAsName)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setTargetComponents(NXObject[] targetComponents)
The target components that are cut
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setToolBody(Body toolBody)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setUseCutColor(boolean useCutColor)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setUseCutHatch(boolean useCutHatch)
License requirements: solid_modeling ("SOLIDS MODELING") . |
void |
setUseSaveAs(boolean useSaveAs)
License requirements: solid_modeling ("SOLIDS MODELING") . |
SelectDisplayableObjectList |
targetComponents()
Returns the target components that are cut
License requirements: None. |
Body |
toolBody()
Returns the tool body used to perform the cut, which is an extruded body
License requirements: solid_modeling ("SOLIDS MODELING") . |
boolean |
useCutColor()
Returns the flag whether or not to use the specified color for the cut faces
License requirements: solid_modeling ("SOLIDS MODELING") . |
boolean |
useCutHatch()
Returns the flag whether or not the cut faces are crosshatched in wireframe mode
License requirements: solid_modeling ("SOLIDS MODELING") . |
boolean |
useSaveAs()
Returns the flag whether or not to save the work view with a new name
License requirements: solid_modeling ("SOLIDS MODELING") . |
commitFeature, getFeature, hideInternalParentFeatureAfterEdit, parentFeatureInternal, patchSolutionFlag, patchSurfaceFilename, setParentFeatureInternal, setParentFeatureInternal, setPatchSolutionFlag, setPatchSurfaceFilename, setSurroundingPatchSurfaceFilename, showInternalParentFeatureForEdit, surroundingPatchSurfaceFilename, unsetParentFeatureInternal
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
ExtrudeBuilder extrude() throws NXException, RemoteException
NXException
RemoteException
void recalculateLimits() throws NXException, RemoteException
NXException
RemoteException
void setCutView(ModelingView cutView) throws NXException, RemoteException
cutView
- cut viewNXException
RemoteException
ModelingView cutView() throws NXException, RemoteException
NXException
RemoteException
void setToolBody(Body toolBody) throws NXException, RemoteException
toolBody
- tool body used to perform the cutNXException
RemoteException
Body toolBody() throws NXException, RemoteException
NXException
RemoteException
SelectDisplayableObjectList targetComponents() throws NXException, RemoteException
NXException
RemoteException
void setTargetComponents(NXObject[] targetComponents) throws NXException, RemoteException
targetComponents
- target components to be cutNXException
RemoteException
DisplayableObject[] getTargetComponents() throws NXException, RemoteException
NXException
RemoteException
void setMaterialOutsideLoop(boolean materialOutsideLoop) throws NXException, RemoteException
materialOutsideLoop
- if true, the material is outside the loop used to create the extruded bodyNXException
RemoteException
boolean materialOutsideLoop() throws NXException, RemoteException
NXException
RemoteException
MasterCutBuilder.CalcThroughLimitsData calcThroughLimits(Direction direction) throws NXException, RemoteException
direction
- the extrude directionNXException
RemoteException
void setUseCutHatch(boolean useCutHatch) throws NXException, RemoteException
useCutHatch
- if true, cut faces are crosshatched in wireframe modeNXException
RemoteException
boolean useCutHatch() throws NXException, RemoteException
NXException
RemoteException
void setHatchAngle(double hatchAngle) throws NXException, RemoteException
hatchAngle
- hatch angle used when crosshatching the cut facesNXException
RemoteException
double hatchAngle() throws NXException, RemoteException
NXException
RemoteException
void setHatchDistance(double hatchDistance) throws NXException, RemoteException
hatchDistance
- hatch distance used when crosshatching the cut facesNXException
RemoteException
double hatchDistance() throws NXException, RemoteException
NXException
RemoteException
void setUseCutColor(boolean useCutColor) throws NXException, RemoteException
useCutColor
- if true, use the specified color for the cut facesNXException
RemoteException
boolean useCutColor() throws NXException, RemoteException
NXException
RemoteException
void setCutColor(int cutColor) throws NXException, RemoteException
cutColor
- cut face colorNXException
RemoteException
int cutColor() throws NXException, RemoteException
NXException
RemoteException
void setUseSaveAs(boolean useSaveAs) throws NXException, RemoteException
useSaveAs
- if true, save the work view with a new nameNXException
RemoteException
boolean useSaveAs() throws NXException, RemoteException
NXException
RemoteException
void setSaveAsName(String saveAsName) throws NXException, RemoteException
saveAsName
- cut save as nameNXException
RemoteException
String saveAsName() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.