Difference between revisions of "Part ProjectionOnSurface"

From FreeCAD Documentation
Jump to navigation Jump to search
(The image does not need to be translated)
(Better description of the usage.)
Line 41: Line 41:
  
 
<!--T:9-->
 
<!--T:9-->
# Select the face you want to project to.
+
# Make sure you have at least two objects in your document; the "source" object that you wish to project, and the "target" object where the projection will be made.
 +
# Click on {{Button|[[File:Part ProjectionOnSurface.svg|16px]] [[Part_ProjectionOnSurface|Projection on surface]]}} to launch a [[task_panel|task panel]] with various options.
 +
# Click on {{Button|Select projection surface}}, and then click on the "target" surface where the projection will be created.
 +
# Then click on the specific button to choose the type of subelement that you want to add to your projection object.
 +
#* {{Button|Add face}}: select a source face.
 +
#* {{Button|Add wire}}: select a source edge. The tool will extract the entire wire to which the edge belongs. For example, by choosing a single edge of a polygon, it will project the entire polygon.
 +
#* {{Button|Add edge}}: select a source edge. The tool will only project the selected edge.
 +
#* Once a button is depressed, pick a subelement in the [[3D_view|3D view]]. If you wish to deselect it, hold {{Button|Ctrl}} and pick the same element again.
 +
#* When you are satisfied with your selection, press the same {{Button|Add ...}} button again.
 +
# Then click on the specific radiobutton to choose the type of projection shape to create.
 +
#* {{RadioButton|TRUE|Show all}}: it will show all types of closed wires and edges on the target surface. If a "face" subelement was selected in the previous step, a preview of a solid object extruded from the projection will be shown.
 +
#* {{RadioButton|TRUE|Show faces}}: it will show a preview of a filled face on the target surface. This will only work if you selected a "face" subelement in the previous step; if you selected a closed "wire", only the edges will be created as projection; if you selected "edges", only those edges will be created as projection.
 +
#* {{RadioButton|TRUE|Show edges}}: it will show a preview of the edges on the target surface. This will work whether you added a "face", "wire", or "edge" subelement in the previous step; even if you added a "face", only the edges will be created as projection.
 +
# Press the {{Button|OK}} to complete the operation and produce the new projection object.
 +
 
 +
Notes:
 +
# Extrude height is the value the solid is extrude along the reversed projection direction.
 +
# Solid depth is the value the projection object is moved along the projection direction.
 
# The projection direction
 
# The projection direction
 
#* When entering the function, the current camera direction is used for the projection direction
 
#* When entering the function, the current camera direction is used for the projection direction
 
#* To change the direction, use the camera direction to get your projection direction and press "Get current camera direction"
 
#* To change the direction, use the camera direction to get your projection direction and press "Get current camera direction"
 
#* Or press {{KEY|X:}},{{KEY|Y:}},{{KEY|Z:}} to toggle the direction x=1,x=-1,y=1,y=-1,z=1,z=-1
 
#* Or press {{KEY|X:}},{{KEY|Y:}},{{KEY|Z:}} to toggle the direction x=1,x=-1,y=1,y=-1,z=1,z=-1
# Choose what kind of shape you want to add to your projection object.
 
#* Add Face: Select a face you want to add.
 
#* Add wire: Select a edge. The algorithm takes the wire the edge belongs to and adds it to the projection object.
 
#* Add edge: Select a edge. The selected edge is added to the projection object.
 
# Choose the what kind of shape you like to create.
 
#* Show all: Shows if possible the projected solid object.
 
#* Show faces: Shows if possible the projected face object.
 
#* Show edges: Shows the projected edge object.
 
# Extrude height is the value the solid is extrude along the reversed projection direction.
 
# Solid depth is the value the projection object is moved along the projection direction.
 
# When you are finish with the projection object hit {{Button|OK}} and the projection object is created.
 
  
 
==Options== <!--T:10-->
 
==Options== <!--T:10-->

Revision as of 01:14, 17 August 2020

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Arrow-left.svg Previous: Part Thickness.svg Thickness


Part ProjectionOnSurface.svg Part ProjectionOnSurface

Menu location
Part → Create projection on surface...
Workbenches
Part
Default shortcut
None
Introduced in version
0.19
See also
None

Description

Part ProjectionOnSurface is used to project a Shape on top of a surface from another Shape; this can be used to project a logo or text message (see Draft ShapeString.svg Draft ShapeString) onto curved surfaces to create interesting effects.

This tool can project the entire face, or only a wire or edge of a Shape. The result can be a new face or wire on the surface, or even a projection solid, which can be used in a boolean cut.

Part ProjectionOnSurface1.png Part ProjectionOnSurface2.png

Projection on a curved surface

Usage

  1. Make sure you have at least two objects in your document; the "source" object that you wish to project, and the "target" object where the projection will be made.
  2. Click on Part ProjectionOnSurface.svg Projection on surface to launch a task panel with various options.
  3. Click on Select projection surface, and then click on the "target" surface where the projection will be created.
  4. Then click on the specific button to choose the type of subelement that you want to add to your projection object.
    • Add face: select a source face.
    • Add wire: select a source edge. The tool will extract the entire wire to which the edge belongs. For example, by choosing a single edge of a polygon, it will project the entire polygon.
    • Add edge: select a source edge. The tool will only project the selected edge.
    • Once a button is depressed, pick a subelement in the 3D view. If you wish to deselect it, hold Ctrl and pick the same element again.
    • When you are satisfied with your selection, press the same Add ... button again.
  5. Then click on the specific radiobutton to choose the type of projection shape to create.
    • RadioButtonTrue.svg Show all: it will show all types of closed wires and edges on the target surface. If a "face" subelement was selected in the previous step, a preview of a solid object extruded from the projection will be shown.
    • RadioButtonTrue.svg Show faces: it will show a preview of a filled face on the target surface. This will only work if you selected a "face" subelement in the previous step; if you selected a closed "wire", only the edges will be created as projection; if you selected "edges", only those edges will be created as projection.
    • RadioButtonTrue.svg Show edges: it will show a preview of the edges on the target surface. This will work whether you added a "face", "wire", or "edge" subelement in the previous step; even if you added a "face", only the edges will be created as projection.
  6. Press the OK to complete the operation and produce the new projection object.

Notes:

  1. Extrude height is the value the solid is extrude along the reversed projection direction.
  2. Solid depth is the value the projection object is moved along the projection direction.
  3. The projection direction
    • When entering the function, the current camera direction is used for the projection direction
    • To change the direction, use the camera direction to get your projection direction and press "Get current camera direction"
    • Or press X:,Y:,Z: to toggle the direction x=1,x=-1,y=1,y=-1,z=1,z=-1

Options

  1. Extrude height
    • The height value a valid projection solid is extruded along the reversed projection direction
  2. Solid depth
    • The depth value a valid projection object is moved along the projection direction
  3. Camera / projection direction
    • "Get current camera direction" sets the current camera view for the projection direction
    • X: toggle the projection direction between x=1 and x=-1
    • Y: toggle the projection direction between y=1 and y=-1
    • Z: toggle the projection direction between z=1 and z=-1

Limitations

The projection algorithm sometimes is not able to create a valid projection face. If this happens a solid also can't be created.

If this happens:

  1. Check if your starting face is valid.
  2. Check if the projection direction is valid. (Can the face be projected to surface? Or does it not hit the surface?)
  3. Try to use the "Show edges" option. Are the edges projected well? Try to create a face with the edges by hand.

Links

Examples

Arrow-left.svg Previous: Part Thickness.svg Thickness