1.2.7.1.  Extrusion: Batch mode for extrusion of 2D parts

Description

There is a possibility to automatically import DWG/DXF files as 3d geometry. This is interesting for profile manufactures, who only have 2D files but would like to use GeoSearch or provide an eCATALOGsolutions catalog. The function only makes sense for parts which are semi-finished products and are sold by the metre.

Input part in dxf/dwg format (opened in AutoCAD)

Input part in dxf/dwg format (opened in AutoCAD)

Licenses

The paid license CNS2009*PSADDONS*EXTRUSIONNODEis required:

Configuration
  1. In the configuration file pappclient.cfg under block Common, set the key clientmode to the value remote and under block appserver, set the key server to the value localhost.

  2. In the configuration file pappserver.cfg under block Common, set the key Modules to the value all,PipelineHttpConnector and the key Services to the value all,AnalysisService,PartWareHouseService,PipelineService.

  3. Start the PARTapplicationServer with command input:

    C:\CADENAS\SOFTWARE\bin\x86\64\pappserver.exe –e

Create and configure pipeline
  1. Create a PLMsynchro pipeline using PLMsynchro Wizard.

    See Section 1.2.2, “ Basic setup via wizard”.

    The selection at Conversion is irrelevant, as this node is replaced.

    Under Query, select the following setting, for example:

    Now the pipeline created by Wizard looks like this:

  2. Delete the Conversion node and replace it with Extrusion. You will find the Extrusion node in the Available filters docking window. Simply drag the node into the dialog area of the pipeline and reset the corresponding edges. If necessary, also add the Report node.

    Extrusion Node

    Extrusion Node

    Pipeline with Extrusion node and Report node

    Pipeline with Extrusion node and Report node

  3. Select the Extrusion node.

    -> The node editor [Node Editor] is displayed.

  4. Make the settings for the Extrusion node:

    • Batch size: The setting is not relevant for the extrusion itself. The extrusion [Extrusion] node can be executed as a 'distributed node'; therefore the option is displayed. The batch size specifies how many tasks are assigned to each client. Leave the default value 0, which means that no fixed value is set.

    • General settings

      • Variable name: Name of the variable that controls the length of the semi-finished product.

      • Variable description: Variable description, which is displayed in PARTdataManager below the variable.

      • Variable type: There are two options.

        • Fixed variable: Determine the value under Value.

        • Value range: Determine minimum and maximum [Maximum], optional step size [Stepping].

      • Minimum (only active if Value range is selected): Minimum value of the value range variable

      • Maximum (only active if Value range is selected): Maximum value of the value range variable

      • Step size [Stepping] (only active when Value range is selected): optional

      • Value (only active if Fixed variable is selected): Variable value for the length of the semi-finished product

      • Close Length (default 5): Points are automatically connected up to this distance to create a closed drawing.

      • keep 2D view [Keep 2D-View]:

        • Activated: The 2D view (meaning the not extruded part from the drawing) is retained as technical view for the project.

        • Deactivated: The created project only contains the extruded version as 3db.

      • Against the surface normal [Against surface normal]: Extrusion is carried out in the opposite direction.

      • Both directions: Extrusion is carried out in both directions.

      • Move object towards origin [Move Object to origin]: The bottom left corner of the created 3D object is moved in the direction of the coordinate origin so that the object is not 'somewhere' in space. Depending on the drawing, it could be that the object is slightly away from the origin.

      Presently unit cannot be set. If possible, the unit for the created 3db is taken from the drawing. Otherwise per default mm is supposed as unit.

    • Filtering layers

      • Ignore frozen [Ignore frozen layers] layers: If this option is activated, all frozen layers are ignored during import.

      • Layer filter: Enter comma-separated layer names that are to be ignored during import. Wildcard * can be used at the beginning of a layer name or at the end or at the beginning and end.

        [Note]Note

        Ideally files have the same layer names, in order for filters to be applied. If however, for example, a layer with the name "Dimension" shall be filtered and a file has no layer with this name, then the node will work anyhow. In this case simply nothing would be filtered, because there is no layer with this name.

      [Note]Note

      Restriction:

      Each file may only contain the sketch with the part itself. If there is a layer with dimension information then this layer needs to be filtered out or the extrusion will fail.

  5. Make the settings for the PARTsolutionsExporter node:

    In this example, Catalog Type Supplier Parts is set.

  6. Now click on the Start button to execute the PLM Synchro process.

  7. Check the process in the dashboard.

  8. Open PARTdataManager to view the result.

    Part selection

    Part selection

    Part view

    Part view