Arch OBJ/it: Difference between revisions
(Updating to match new version of source page) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/it |
{{Docnav/it |
||
|[[Arch_DAE/it|DAE]] |
|[[Arch_DAE/it|DAE]] |
||
|[[Arch_JSON/it|JSON]] |
|[[Arch_JSON/it|JSON]] |
||
|[[ |
|[[BIM_Workbench/it|BIM]] |
||
|IconL= |
|IconL= |
||
|IconR= |
|IconR= |
||
|IconC= |
|IconC=Workbench_BIM.svg |
||
}} |
}} |
||
</div> |
|||
{{TOCright}} |
{{TOCright}} |
||
Line 17: | Line 15: | ||
==Descrizione== |
==Descrizione== |
||
⚫ | Oltre all'esportatore [https://en.wikipedia.org/wiki/Wavefront_.obj_file OBJ] standard di FreeCAD, l'[[BIM_Workbench/it|Ambiente BIM]] dispone di un esportatore alternativo che esporta le facce complanari come facce OBJ intere, invece di triangolazioni eseguite su oggetti costruiti su [[Shape/it|forme]] di base, come fa l'esportatore standard. |
||
<div class="mw-translate-fuzzy"> |
|||
⚫ | Oltre all'esportatore [https://en.wikipedia.org/wiki/Wavefront_.obj_file OBJ] standard di FreeCAD, |
||
</div> |
|||
<span id="Exporting_without_GUI"></span> |
<span id="Exporting_without_GUI"></span> |
||
Line 62: | Line 58: | ||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/it |
{{Docnav/it |
||
|[[Arch_DAE/it|DAE]] |
|[[Arch_DAE/it|DAE]] |
||
|[[Arch_JSON/it|JSON]] |
|[[Arch_JSON/it|JSON]] |
||
|[[ |
|[[BIM_Workbench/it|BIM]] |
||
|IconL= |
|IconL= |
||
|IconR= |
|IconR= |
||
|IconC= |
|IconC=Workbench_BIM.svg |
||
}} |
}} |
||
</div> |
|||
{{BIM_Tools_navi{{#translation:}}}} |
{{BIM_Tools_navi{{#translation:}}}} |
Latest revision as of 23:04, 14 June 2024
Descrizione
Oltre all'esportatore OBJ standard di FreeCAD, l'Ambiente BIM dispone di un esportatore alternativo che esporta le facce complanari come facce OBJ intere, invece di triangolazioni eseguite su oggetti costruiti su forme di base, come fa l'esportatore standard.
Esportazione senza GUI
L'esportazione senza l'interfaccia grafica è possibile dalla riga di comando, solo utilizzando l'esportatore di Mesh.
In questo esempio, viene importato un file STEP, i colori della Shape vengono salvati, quindi da esso viene creata una mesh, i colori dell'oggetto originale vengono riapplicati alle facce della nuova mesh, che viene poi esportato in formato OBJ. Poiché questa operazione viene eseguita con Mesh Workbench, il risultato è una mesh triangolata.
import Mesh
import MeshPart
import Import
data = Import.open("example.stp")
shape = data[0][0].Shape
shape_colors = data[0][1]
mesh = MeshPart.meshFromShape(Shape=shape, LinearDeflection=0.1, Segments=True)
face_colors = [(0, 0, 0)] * mesh.CountFacets
for i in range(mesh.countSegments()):
color = shape_colors[i]
segm = mesh.getSegment(i)
for j in segm:
face_colors[j] = color
mesh.write(Filename="new_example.obj", Material=face_colors, Format="obj")
Ulteriori informazioni
Tutorial
- 2D drafting: Sketch, Line, Polyline, Circle, Arc, Arc by 3 points, Fillet, Ellipse, Polygon, Rectangle, B-spline, Bézier curve, Cubic Bézier curve, Point
- 3D/BIM: Project, Site, Building, Level, Space, Wall, Curtain Wall, Column, Beam, Slab, Door, Window, Pipe, Pipe Connector, Stairs, Roof, Panel, Frame, Fence, Truss, Equipment
- Reinforcement tools: Custom Rebar, Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement
- Generic 3D tools: Profile, Box, Shape builder..., Facebinder, Objects library, Component, External reference
- Annotation: Text, Shape from text, Aligned dimension, Horizontal dimension, Vertical dimension, Leader, Label, Axis, Axes System, Grid, Section Plane, Hatch, Page, View, Shape-based view
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid, Working Plane Top, Working Plane Front, Working Plane Side
- Modify: Move, Copy, Rotate, Clone, Create simple copy, Make compound, Offset, 2D Offset..., Trimex, Join, Split, Scale, Stretch, Draft to sketch, Upgrade, Downgrade, Add component, Remove component, Array, Path array, Circular array, Point array, Cut with plane, Mirror, Extrude..., Difference, Union, Intersection
- Manage: BIM Setup..., Views manager, Manage project..., Manage doors and windows..., Manage IFC elements..., Manage IFC quantities..., Manage IFC properties..., Manage classification..., Manage layers..., Material, Schedule, Preflight checks..., Annotation styles...
- Utils: Toggle bottom panels, Move to Trash, Working Plane View, Select group, Set slope, Create working plane proxy, Add to construction group, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, Toggle subcomponents, Survey, IFC Diff, IFC explorer, Image plane, Unclone, Rewire, Glue, Reextrude
- Panel tools: Panel, Panel Cut, Panel Sheet, Nest
- Structure tools: Structure, Structural System, Multiple Structures
- IFC tools: IFC Diff..., IFC Expand, Make IFC project, IfcOpenShell update
- Nudge: Nudge Switch, Nudge Up, Nudge Down, Nudge Left, Nudge Right, Nudge Rotate Left, Nudge Rotate Right, Nudge Extend, Nudge Shrink
- Additional: Preferences, Fine tuning, Import Export Preferences, IFC, DAE, OBJ, JSON, 3DS, SHP
![](/images/thumb/9/94/User_hub.png/24px-User_hub.png)
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub