Print3dBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# Print3dBuilder Class

class `NXOpen.``Print3dBuilder`

  Bases: `NXOpen.Builder`

  This class sends the 3d model for 3dprinting.

  The user can select solid bodies, convergent bodies, NX facet bodies or JT facet bodies for 3d printing.The print can be chosen to have a support, raft, various types of density and quality To create a new instance of this class, use `NXOpen.PlotManager.CreatePrint3dBuilder()`

  Default values.

  Property | Value
  --- | ---
  AddRaft | 0
  AddSupport | 0
  InFillPrint | Hollow
  QualityPrint | High

  New in version NX11.0.0.

# Properties

Property | Description
--- | ---
AddRaft | Returns or sets the raft printing for the 3d print
AddSupport | Returns or sets the support printing for 3d print
Bodies | Returns the bodies to be printed
InFillPrint | Returns or sets the type of infill for the 3d print
LocationCoordinateSystem | Returns or sets the coordinate system which determines the orientation with respect to the printer
PrinterText | Returns or sets the printer name
QualityPrint | Returns or sets the quality of the 3d print
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
Destroy | Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit.
GetObject | Returns the object currently being edited by this builder.
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

Print3dBuilderPrintInfillEnum Enumeration | Sets the Infill type required for the 3d printing
Print3dBuilderPrintQualityEnum Enumeration | Sets the print quality

# Property Detail

## AddRaft

`Print3dBuilder.``AddRaft`

  Returns or sets the raft printing for the 3d print

  `-------------------------------------`

  Getter Method

  Signature `AddRaft`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AddRaft`

  Parameters: | addRaft (bool) –

  New in version NX11.0.0.

  License requirements: None.

## AddSupport

`Print3dBuilder.``AddSupport`

  Returns or sets the support printing for 3d print

  `-------------------------------------`

  Getter Method

  Signature `AddSupport`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AddSupport`

  Parameters: | addSupport (bool) –

  New in version NX11.0.0.

  License requirements: None.

## Bodies

`Print3dBuilder.``Bodies`

  Returns the bodies to be printed

  `-------------------------------------`

  Getter Method

  Signature `Bodies`

  Returns: |
  Return type: | `NXOpen.SelectBodyList`

  New in version NX11.0.0.

  License requirements: None.

## InFillPrint

`Print3dBuilder.``InFillPrint`

  Returns or sets the type of infill for the 3d print

  `-------------------------------------`

  Getter Method

  Signature `InFillPrint`

  Returns: |
  Return type: | `NXOpen.Print3dBuilderPrintInfillEnum`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `InFillPrint`

  Parameters: | inFillPrint (`NXOpen.Print3dBuilderPrintInfillEnum`) –

  New in version NX11.0.0.

  License requirements: None.

## LocationCoordinateSystem

`Print3dBuilder.``LocationCoordinateSystem`

  Returns or sets the coordinate system which determines the orientation with respect to the printer

  `-------------------------------------`

  Getter Method

  Signature `LocationCoordinateSystem`

  Returns: |
  Return type: | `NXOpen.CoordinateSystem`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `LocationCoordinateSystem`

  Parameters: | locationCSYS (`NXOpen.CoordinateSystem`) –

  New in version NX11.0.0.

  License requirements: None.

## PrinterText

`Print3dBuilder.``PrinterText`

  Returns or sets the printer name

  `-------------------------------------`

  Getter Method

  Signature `PrinterText`

  Returns: |
  Return type: | str

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `PrinterText`

  Parameters: | printer (str) –

  New in version NX11.0.0.

  License requirements: None.

## QualityPrint

`Print3dBuilder.``QualityPrint`

  Returns or sets the quality of the 3d print

  `-------------------------------------`

  Getter Method

  Signature `QualityPrint`

  Returns: |
  Return type: | `NXOpen.Print3dBuilderPrintQualityEnum`

  New in version NX11.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `QualityPrint`

  Parameters: | qualityPrint (`NXOpen.Print3dBuilderPrintQualityEnum`) –

  New in version NX11.0.0.

  License requirements: None.

# Method Detail

## Validate

`Print3dBuilder.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.