Longtime FreeCAD tinkerer, but attempting to use it for more serious work. I need to produce a dimensioned drawing for a machinist and thought I'd try out the new TechDraw work bench to see how it compares to the dimension tools in the Draft workbench. I can get a draft view into my template but I can't seem to select any edges or objects for adding dimensions, so the dimension icon remains grayed out. I don't think this is a bug, it's just me not being able to figure it out, especially with the limited documentation.
Any idea what I'm doing wrong? Once my draft view is in the template how do I add dimensions to it in the TechDraw workbench? File attached.
Using 0.17 daily build:
OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9586 (Git)
Build type: None
Branch: master
Hash: 0e2cf2ebcaaa50723de608cf030af740cb6ad548
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Can't add dimension to Draft View in TechDraw workbench
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!
Can't add dimension to Draft View in TechDraw workbench
- Attachments
-
- techdraw-test.fcstd
- (19.67 KiB) Downloaded 44 times
Re: Can't add dimension to Draft View in TechDraw workbench
At the moment, dimensions cannot be added to a Draft View, because to add dimensions you first need to select vertices or edges, and you can't select anything on a Draft View.
Dimensions can only be added to these type of views:
These view tools do not seem to support wires, which is what your Draft objects are.
But there's a way: a Draft object is a high-level object that also has a "Make Face" property, which means that you can turn them to faces, if they are closed profiles (obviously, a Draft Rectangle or a Draft Circle can create a face, while an open DWire can't). And faces seem to be recognized by "View" and "Multi". So what you need to do:
Dimensions can only be added to these type of views:
These view tools do not seem to support wires, which is what your Draft objects are.
But there's a way: a Draft object is a high-level object that also has a "Make Face" property, which means that you can turn them to faces, if they are closed profiles (obviously, a Draft Rectangle or a Draft Circle can create a face, while an open DWire can't). And faces seem to be recognized by "View" and "Multi". So what you need to do:
- Select your Draft objects in the Model tree
- Under the Data tab, set the "Make Face" property to true
- Create either a View or a Multi view:
- If creating a view, you will need first to create a compound of all your Draft object from the Part --> Make compound menu in the Part workbench. Then create a view of the compound.
- With a Multi view, you just need to select all your Draft objects.
- Add dimensions to your view by making your selection first, then clicking on the desired dimension tool. For example, select a vertical edge then click on the vertical dimension tool; or select a circle and add a radius or diameter dimension. You can also select two points, or a circle's centre cross and a point.
- Attachments
-
- techdraw-test_normandc1.fcstd
- (23.65 KiB) Downloaded 42 times
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Can't add dimension to Draft View in TechDraw workbench
Draft (and Arch) views are converted to SVG before being given to TechDraw so there is no geometry to work with. But as @NormandC said, you can add the objects to the drawing by selecting Circle,Rectangle and Circle001, then adding a MultiView. You lose Draft's fancy formatting, though.system80 wrote: I don't think this is a bug, it's just me not being able to figure it out, especially with the limited documentation.
Any idea what I'm doing wrong? Once my draft view is in the template how do I add dimensions to it in the TechDraw workbench?
@NormandC, you should be able to add dimensions to Section and Detail also. If you cannot, let me know.
wf
- Attachments
-
- system80.png (21.76 KiB) Viewed 2691 times
Re: Can't add dimension to Draft View in TechDraw workbench
That work around is doing the trick. Thank you so much for the assistance!!!
Re: Can't add dimension to Draft View in TechDraw workbench
We need to attack that issue at some pointwandererfan wrote:Draft (and Arch) views are converted to SVG before being given to TechDraw so there is no geometry to work with.
Re: Can't add dimension to Draft View in TechDraw workbench
Of course, I just didn't think of these two new tools because I have yet to use them.wandererfan wrote:@NormandC, you should be able to add dimensions to Section and Detail also. If you cannot, let me know.
Although Section does not appear relevant to 2D geometry.