Documentation

Difference between revisions of "STEP 3D Import"

 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
<br><big><b><span style="color:#FF0000">Here at last: The STEP-Import!</span></b></big><br><br>
+
== Import 3D models ==
 +
[[Image:stepcolor.png|none|Step ImportExport]]<br><br><br>
 +
<b>Import 3D models from your mechanical CAD System or [http://www.3dcontentcentral.com/ anywhere from the web]:</b>
  
<b>Importieren Sie 3D-Modelle aus Ihrem 3D-CAD System oder vom Web:</b>
+
*to your  TARGET 3001! project
 +
*to your component data base
 +
*to the COMPONIVERSE <small>[[Componiverse|COMPONI - what?]]</small>
 +
*for your STEP-Export
  
*in Ihr TARGET 3001! Projekt
 
*in die Bauteildatenbank
 
*ins COMPONIVERSE
 
*verwenden Sie sie für Ihre STEP-Ausgabe
 
  
 +
[[Image:stepimport_framed.png|none|Load a manufacturer's STEP file to TARGET 3001!]]<br>
 +
Import 3D-CAD data in *.stp format to TARGET 3001! e. g. a WAGO terminal block<br><br>
  
[[Image:stepimport_1.png]]<br>
 
Importieren Sie 3D-CAD Daten des Herstellers nach TARGET 3001!<br><br>
 
  
== Wie geht man vor? ==
+
== How to proceed? ==
  
* Speichern Sie das *.stp 3D-Modell des gewünschten Bauteils von der Website des Herstellers in ein Verzeichnis Ihrer Wahl
+
* save the <nowiki>*</nowiki>.stp 3D model of the desired part from the manufacturers website to a directory of your choice.
* aktivieren Sie im TARGET-Bauteilbrowser den STEP-Import
+
* add the 3D model to your package
* fügen Sie das 3D-Modell Ihrem Bauteil bei
+
<br><br><b>For example...</b><br><br>
<br><br><br>
+
[[Image:stepimport_2_e.png|500px]]<br>Image: In the TARGET 3001! data base [[Image: InsertComponent.png]]  you may recognize that a certain component has no 3D model (e.g. manufacturer WAGO).<br>So we have a look at the WAGO website.<br><br>
[[Image:stepimport_2_e.png|500px]]<br>Bild: In der TARGET 3001! Datenbank stellen Sie fest, dass bei einem Bauteil eines bestimmten Herstellers (hier: WAGO) das 3D-Modell fehlt.<br><br>
+
<br><br>
 +
[[Image:stepimport_3_e.png|500px]]<br>Image: WAGO offer a 3D model of this terminal block in STEP format, please download it (<nowiki>*</nowiki>.stp).<br><br>
 +
STEP AP203 is monochrome. In most 3D CAD systems the view is in shades of gray. STEP AP214 is polychrome.<br>The color can be adapted later. Save the file to a directory, unzip it if needed.<br><br><br><br>
  
 +
[[Image:stepimport_5_e.png|500px]]<br>Image: In the TARGET 3001! component browser click ('''[[M2]]''') on the image, where you would expect the 3D image. Now you need to create a user copy of the part.<br>You don't want to create an extruded model of its outline (because you want to have the STEP model). So deny this request.<br><br>
 
<br><br>
 
<br><br>
[[Image:stepimport_3_e.png|500px]]<br>Bild: Wechseln Sie zur Website des Herstellers. Sofern er ein 3D-Modell seines Produktes anbietet, laden Sie dieses im Format STEP herunter (*.stp).<br><br>
+
[[Image:stepimport_6_e.png]]<br>Image: In the 3D editor press the STEP button (bottom left).<br><br><br><br>
Formatangebot bei WAGO: STEP AP203 ist monochrom, bei den meisten 3D CAD Systemen ist diese Ansicht grau. STEP AP214 ist polychrom. Sowohl ''a'' als auch ''b'' funktionieren in TARGET. Die Farbe können Sie später noch bestimmen. Speichern Sie das File in ein Verzeichnis Ihrer Wahl und entpacken Sie es, falls erforderlich.<br><br>
+
 
 +
[[Image:stepimport_7_e.png]]<br>Image: The dialog "Load and manipulate STEP data" opens. Press button: Load STEP file.<br><br><br><br>
 +
 
 +
[[Image:stepimport_8_e.png|500px]]<br>Image: Select the desired STEP file in order to open it in TARGET 3001!.<br>The STEP model comes in to the 3D editor and eventually needs being brought to position. So you need to align it.<br>In case the colour appears to you too weak in contrast you might change it in this dialog.<br><br><br><br>
 +
[[Image:stepimport_10_e.png|500px]]<br>Image: In order to align the part you may flip it around  X-, Y- or Z-axis and do the fine adjustment by the sliders. They represent X-, Y- and Z-axis (top to bottom)<br><br><br><br>
 +
[[Image:stepimport_11_e.png|500px]]<br>Image: The OK button overtakes the model to the TARGET part in the way you have aligned it.<br><br><br><br>
 +
 
 +
[[Image:stepimport_12_e.png|500px]]<br>Image: The part in question used in the TARGET 3001! layout and visualized in the 3D view.<br><br>
 +
 
 +
 
 +
== Reduce the complexity of a STEP model ==
 +
 
 +
[[Image:step_weniger_komplex_DEF.jpg|none]]Image<br><br>
 +
 
 +
3D-STEP models can have very complex data structures if they show many rounded surfaces. Due to an algorithm to reduce the complexity, TARGET can now work with such models.<br>
 +
 
 +
 
 +
== Upload your part to COMPONIVERSE ==
 +
 
 +
[[Image:stepimport_13_e.png|500px]]<br>Image: In order to help other users, upload the part to the [[Componiverse|COMPONIVERSE]] if you like.<br><br><br><br>[mailto:target@ibfriedrich.com?Subject=STEP_Import I have got a question at this point...]
 +
<br>
 +
 
 +
 
 +
== Can I directly insert a STEP file without a component? ==
 +
 
 +
Question: ''"For example, can I simply import a housing in which the PCB is to be built in? Or do I always have to go the long way round and create a component in which the STEP file is stored? In short: Can I directly insert files with .stp?"''<br><br>
 +
 
 +
Answer: Create an empty package in the database that only consists of a handle cross. Then import it onto your board layout and assign any STEP file to this local package. That's it. You can also place this package several times in different places and assign a different STEP each time.<br><br>
 +
 
  
[[Image:stepimport_5_e.png|500px]]<br>Bild: Im TARGET 3001! Bauteilbrowser klicken Sie mit der rechten Maustaste ('''[[M2]]''') auf das Bild, wo Sie die 3D-Darstellung erwarten würden. Now you need to create a user copy of the part. but you don't want to create an extruded model of its outline (bacause you want to have the STEP model). So deny this request.<br><br>
 
<br><br>
 
[[Image:stepimport_6_e.png]]<br>Bild: Im sich öffnenden 3D-Editor drücken Sie den Knopf zum Step-Import (unten links).<br><br>
 
  
[[Image:stepimport_7_e.png]]<br>Bild: Sofort öffnet sich der Dialog "STEP Daten laden und bearbeiten". Drücken Sie den Knopf: Lade STEP-Datei.<br><br>
+
== Error 1153 ==
 +
 
 +
 
 +
After importing a complex STEP model, the following message appears:
 +
 
 +
Error 1153:
 +
Got a packet bigger than 'max_allowed_packet' bytes.
  
[[Image:stepimport_8_e.png|500px]]<br>Bild: Wählen Sie die gewünschte Step-Datei und öffnen Sie sie in TARGET 3001!.<br><br>
+
Probably you are using a MySQL database and have not set the "max_allowed_packet" value. Please have a look here:<br>
 +
https://server.ibfriedrich.com/wiki/ibfwikien/index.php?title=MySQL#Using_a_console
 +
<br>
 +
<br>
 +
<br>
  
[[Image:stepimport_9_e.png|500px]]<br>Bild: Das STEP Modell kommt nun in den TARGET 3001! 3D Editor herein und bedarf ggf. der Ausrichtung. Sollte Ihnen die Farbe zu wenig kontrastreich sien, können Sie diese über den Dialog verändern.<br><br>
 
[[Image:stepimport_10_e.png|500px]]<br>Bild: Das importierte 3D-Bild bedarf ggf. der Ausrichtung. Im Dialog kann man es um die X-, Y- oder Z-Achse kippen und mit den achsenbezogenen Schiebereglern exakt positionieren.<br><br>
 
[[Image:stepimport_11_e.png|500px]]<br>Bild: Mit der Taste OK übernimmt man das 3D Modell nach TARGET.<br><br>
 
  
[[Image:stepimport_12_e.png|500px]]<br>Bild: Im Layout verwendet und mit der 3D Ansicht in TARGET visualisiert, zeigt sich dieses Bild.<br><br>
 
[[Image:stepimport_13_e.png|500px]]<br>Bild: Laden Sie Ihr Bauteil im COMPONIVERSE hoch - natürlich mit 3D-Modell.<br><br>
 
  
[[de:STEP 3D Import ]][[en:STEP 3D Import]][[fr:STEP 3D Import]]
+
[[de:STEP 3D Import]][[fr:STEP 3D Import]]

Latest revision as of 14:12, 8 July 2021

Import 3D models

Step ImportExport



Import 3D models from your mechanical CAD System or anywhere from the web:


Load a manufacturer's STEP file to TARGET 3001!

Import 3D-CAD data in *.stp format to TARGET 3001! e. g. a WAGO terminal block


How to proceed?



For example...

Stepimport 2 e.png
Image: In the TARGET 3001! data base InsertComponent.png you may recognize that a certain component has no 3D model (e.g. manufacturer WAGO).
So we have a look at the WAGO website.



Stepimport 3 e.png
Image: WAGO offer a 3D model of this terminal block in STEP format, please download it (*.stp).

STEP AP203 is monochrome. In most 3D CAD systems the view is in shades of gray. STEP AP214 is polychrome.
The color can be adapted later. Save the file to a directory, unzip it if needed.



Stepimport 5 e.png
Image: In the TARGET 3001! component browser click (M2) on the image, where you would expect the 3D image. Now you need to create a user copy of the part.
You don't want to create an extruded model of its outline (because you want to have the STEP model). So deny this request.



Stepimport 6 e.png
Image: In the 3D editor press the STEP button (bottom left).



Stepimport 7 e.png
Image: The dialog "Load and manipulate STEP data" opens. Press button: Load STEP file.



Stepimport 8 e.png
Image: Select the desired STEP file in order to open it in TARGET 3001!.
The STEP model comes in to the 3D editor and eventually needs being brought to position. So you need to align it.
In case the colour appears to you too weak in contrast you might change it in this dialog.



Stepimport 10 e.png
Image: In order to align the part you may flip it around X-, Y- or Z-axis and do the fine adjustment by the sliders. They represent X-, Y- and Z-axis (top to bottom)



Stepimport 11 e.png
Image: The OK button overtakes the model to the TARGET part in the way you have aligned it.



Stepimport 12 e.png
Image: The part in question used in the TARGET 3001! layout and visualized in the 3D view.


Reduce the complexity of a STEP model

Step weniger komplex DEF.jpg
Image

3D-STEP models can have very complex data structures if they show many rounded surfaces. Due to an algorithm to reduce the complexity, TARGET can now work with such models.


Upload your part to COMPONIVERSE

Stepimport 13 e.png
Image: In order to help other users, upload the part to the COMPONIVERSE if you like.



I have got a question at this point...


Can I directly insert a STEP file without a component?

Question: "For example, can I simply import a housing in which the PCB is to be built in? Or do I always have to go the long way round and create a component in which the STEP file is stored? In short: Can I directly insert files with .stp?"

Answer: Create an empty package in the database that only consists of a handle cross. Then import it onto your board layout and assign any STEP file to this local package. That's it. You can also place this package several times in different places and assign a different STEP each time.


Error 1153

After importing a complex STEP model, the following message appears:

Error 1153:
Got a packet bigger than 'max_allowed_packet' bytes.

Probably you are using a MySQL database and have not set the "max_allowed_packet" value. Please have a look here:
https://server.ibfriedrich.com/wiki/ibfwikien/index.php?title=MySQL#Using_a_console