Hey happy FreeCAD users,
I am sure that I am not the first one to want to do that, but could not find anything...
I would like to create a projected view (a view according a direction which is not proposed in the regular views), but could not find the way to do it. I imagine a feature which allows me the pick an existing view and a line for the direction, then a place in my drawing to place the created view. Does anything like that exist ? I attached a sketch of what I mean (the projection would be from the arrow point of view), hope it's clear.
Thanks for your help,
Sylvian
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Projected view
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Projected view
- Attachments
-
- Capture.JPG (27.56 KiB) Viewed 1413 times
Re: Projected view
Hi, welcome to Freecad and the forum
You already discovered the Drawing workbench. A view can be scaled, moved and rotated with the functions I marked in the image
You already discovered the Drawing workbench. A view can be scaled, moved and rotated with the functions I marked in the image
Re: Projected view
Thanks Willem.
So no easier way than calculating the sine and cosine to get the right x, y and z ?
And this is a bit out of subject, but if I move a view, the dimensions won't follow, really ?
So no easier way than calculating the sine and cosine to get the right x, y and z ?
And this is a bit out of subject, but if I move a view, the dimensions won't follow, really ?
Re: Projected view
For rotating and moving you can also do small steps at the end of the line and see how the view changes
After moving a view the dimensions will follow when you use the function RECOMPUTE DIMENSIONS
Re: Projected view
You can use directly the information FreeCAD has about the normal of the face you want to have the view on:Sylvian wrote:So no easier way than calculating the sine and cosine to get the right x, y and z ?
- Move the mouse in the 3D-view over the face, where you need the normal
- In the lower left of the FreeCAD window, you see all information you need next (internal name of your part and the number of the Face)
- make the python console visible (It is under the menu view/Panels)
- type in the python console the following. Replace InternalName with the name you saw. Type in the braces the face number minus one.
Code: Select all
App.ActiveDocument.InternalName.Shape.Faces[your face number minus 1].Surface.Axis
I got in my test
Code: Select all
>>> App.ActiveDocument.Extrude.Shape.Faces[0].Surface.Axis
Vector (0.7853555534575196, -0.619044953661229, 0.0)
Code: Select all
-Extrude.Shape.Faces[0].Surface.Axis.x
Ulrich
Last edited by ulrich1a on Sun Apr 16, 2017 3:10 pm, edited 1 time in total.
Re: Projected view
Thanks guys !