Std Import/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 19: Line 19:
'''[http://en.wikipedia.org/wiki/IGES .IGES], [http://es.wikipedia.org/wiki/ISO_10303 .STEP], [http://en.wikipedia.org/wiki/Boundary_representation .BREP], [http://en.wikipedia.org/wiki/STL_%28file_format%29 .STL], [http://en.wikipedia.org/wiki/Wavefront_.obj_file .OBJ], [http://en.wikipedia.org/wiki/PLY_%28file_format%29 .PLY]''', etc.
'''[http://en.wikipedia.org/wiki/IGES .IGES], [http://es.wikipedia.org/wiki/ISO_10303 .STEP], [http://en.wikipedia.org/wiki/Boundary_representation .BREP], [http://en.wikipedia.org/wiki/STL_%28file_format%29 .STL], [http://en.wikipedia.org/wiki/Wavefront_.obj_file .OBJ], [http://en.wikipedia.org/wiki/PLY_%28file_format%29 .PLY]''', etc.
</div>
</div>

{{Version|1.0}}: If an image format is selected the command will create an [[#Image_Plane|Image Plane]].


==Usage==
==Usage==
Line 41: Line 43:
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.
* The last used import filter is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileImportFilter}}.
* The last used import filter is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileImportFilter}}.

==Image Plane==

An Image Plane is a planar representation of an image in the [[3D_view|3D view]]. It can for example be used when creating a model based on photographs of an existing object.

By default an Image Plane is placed on the global XY plane. The initial size of an Image Plane is calculated using a 96 px/inch resolution for BMP images. Image Planes based on SVG images have a default size of 100 mm x 100 mm, an SVG's aspect ratio is ignored.

===Edit===

# To edit an Image Plane do one of the following:
#* Double-click the Image Plane in the [[Tree_view|Tree view]].
#* Right-click the Image Plane in the Tree view and select {{MenuCommand|[[Image:Image-scaling.svg|16px]] Change image...}} from the context menu.
# A task panel opens.
# {{MenuCommand|Choose orientation}} options:
## Select the {{MenuCommand|XY}}, {{MenuCommand|XZ}} or {{MenuCommand|YZ}} plane of the global coordinate system.
## Check {{MenuCommand|Reverse direction}} to rotate the Image Plane 180 ° around its {{PropertyData|Placement}} {{PropertyData|Axis}}.
## Optionally change the {{MenuCommand|Offset}}. A small negative offset can be useful when tracing the image with a [[Sketcher_Workbench|sketch]] or [[Draft_Workbench|Draft]] geometry.
# {{MenuCommand|Scale image}} options:
#* Scale by numerical input:
#*# Optionally uncheck {{MenuCommand|Keep aspect ratio}} for unequal scaling.
#*# Enter a {{MenuCommand|Width}} and/or {{MenuCommand|Height}}.
#* Scale by picking points in the 3D view:
#*# Optionally check {{MenuCommand|Allow points outside the image}}.
#*# Press the {{Button|Interactive}} button.
#*# Pick two points.
#*# Enter the {{MenuCommand|Desired distance}}.
#*# Press the {{Button|Accept}} button.
# Press the {{Button|OK}} button to confirm the changes and close the task panel.

===Properties===

See also: [[Property_editor|Property editor]].

An Image Plane object is derived from an [[App_GeoFeature|App GeoFeature]] object and inherits all its properties. It also has the following additional properties:

====Data====

{{TitleProperty|Image Plane}}

* {{PropertyData|Image File|FileIncluded}}: The image file used for the Image Plane. This file is stored in the {{FileName|.FCStd}} file.
* {{PropertyData|XSize|Length}}: The width of the Image Plane.
* {{PropertyData|YSize|Length}}: The height of the Image Plane.

====View====

{{TitleProperty|Object Style}}

* {{PropertyView|Lighting|Enumeration}}: How the Image Plane is illuminated in the [[3D_view|3D view]]. Can be {{value|Two side}} or {{value|One side}}.





Revision as of 21:48, 14 April 2023

Std_Import

Ubicación en el Menú
Archivo → Importar
Entornos de trabajo
Todos
Atajo de teclado por defecto
CTRL+I
Introducido en versión
-
Ver también
Std Open, Std_Save...

Description

Añade en el documento actual el contenido de un fichero creado con otra aplicación. Estan soportados varios formatos de archivo: .IGES, .STEP, .BREP, .STL, .OBJ, .PLY, etc.

introduced in version 1.0: If an image format is selected the command will create an Image Plane.

Usage

Cuando se carga, el fichero es incorporado al proyecto actual (que debe estar abierto). Si lo que deseas es cargar un nuevo archivo en una nueva ventana, usa el comando Std_Open.

Options

  • Press Esc or the Cancel button to abort the command.

Notes

Preferences

  • See: Import Export Preferences.
  • The last used file location is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath.
  • The last used import filter is stored: Tools → Edit parameters... → BaseApp → Preferences → General → FileImportFilter.

Image Plane

An Image Plane is a planar representation of an image in the 3D view. It can for example be used when creating a model based on photographs of an existing object.

By default an Image Plane is placed on the global XY plane. The initial size of an Image Plane is calculated using a 96 px/inch resolution for BMP images. Image Planes based on SVG images have a default size of 100 mm x 100 mm, an SVG's aspect ratio is ignored.

Edit

  1. To edit an Image Plane do one of the following:
    • Double-click the Image Plane in the Tree view.
    • Right-click the Image Plane in the Tree view and select Change image... from the context menu.
  2. A task panel opens.
  3. Choose orientation options:
    1. Select the XY, XZ or YZ plane of the global coordinate system.
    2. Check Reverse direction to rotate the Image Plane 180 ° around its DatosPlacement DatosAxis.
    3. Optionally change the Offset. A small negative offset can be useful when tracing the image with a sketch or Draft geometry.
  4. Scale image options:
    • Scale by numerical input:
      1. Optionally uncheck Keep aspect ratio for unequal scaling.
      2. Enter a Width and/or Height.
    • Scale by picking points in the 3D view:
      1. Optionally check Allow points outside the image.
      2. Press the Interactive button.
      3. Pick two points.
      4. Enter the Desired distance.
      5. Press the Accept button.
  5. Press the OK button to confirm the changes and close the task panel.

Properties

See also: Property editor.

An Image Plane object is derived from an App GeoFeature object and inherits all its properties. It also has the following additional properties:

Data

Image Plane

  • DatosImage File (FileIncluded): The image file used for the Image Plane. This file is stored in the .FCStd file.
  • DatosXSize (Length): The width of the Image Plane.
  • DatosYSize (Length): The height of the Image Plane.

View

Object Style

  • VistaLighting (Enumeration): How the Image Plane is illuminated in the 3D view. Can be Two side or One side.