Tech Draw Navigation and general questions
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!
Tech Draw Navigation and general questions
Version 0.17 Rev 13247 on Windows 10.
I have several questions regarding TechDraw:
1) Is there any way to change the mouse navigation on tech draw pages so that it acts like the rest of Freecad? On my box it is set up with sliders so it is difficult to dimension parts that span the page.
2) Is there any way to move views from one page to another page?
Thank you in advance
Joe
I have several questions regarding TechDraw:
1) Is there any way to change the mouse navigation on tech draw pages so that it acts like the rest of Freecad? On my box it is set up with sliders so it is difficult to dimension parts that span the page.
2) Is there any way to move views from one page to another page?
Thank you in advance
Joe
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Tech Draw Navigation and general questions
We've only implemented the default pan/zoom so far. It's been on the list for a while.
Yes, but not easily via the Gui. I don't recommend it at this time. Could do it with some Python code.JoeB wrote: 2) Is there any way to move views from one page to another page?
Re: Tech Draw Navigation and general questions
Wow! You guys keep surprising me as to what FC can do. I should have looked at the specs on TechDraw first. It looks like I can generate a number of views, set the scales, and then add pages and or move the views around on different pages so they fit. Perfect!
Re: Tech Draw Navigation and general questions
No kidding.wandererfan wrote: ↑Wed Apr 04, 2018 1:31 pm Yes, but not easily via the Gui. I don't recommend it at this time.
- Make FC document with a TechDraw page and a ProjGroup
- Create a second TechDraw page
- Select ProjGroup in the first Page and all its content
- Right-click --> Copy
- To question whether to copy dependencies, click No
- Right-click on the second Page --> Paste
- Copied ProjGroup is created below and outside the second Page
- No way to drag it over the Page, not visible in it
- Double-click on the copied ProjGroup --> instant crash!
- Alternatively: if either second Page or ProjGroup is deleted, all document windows are "loosened" from the main area (odd hybrid between mosaic and tiled windows)
Re: Tech Draw Navigation and general questions
Rough draft to see if moving a page view object move from one page to another works and it does
Pick two objects, the first being the wind to move, the second the page to move to
obj = FreeCADGui.Selection.getSelection()[0]# view to move
objp = FreeCADGui.Selection.getSelection()[1]# page to move view to.
objm = App.ActiveDocument.addObject('TechDraw::DrawViewPart',"test1")
objm.Source=obj.Source
objp.addView(objm)
objm.Scale=.obj.Scale
objm.LineWidth=obj.LineWidth
...... add more properties, etc, or select them all
then delete the original view....
Pick two objects, the first being the wind to move, the second the page to move to
obj = FreeCADGui.Selection.getSelection()[0]# view to move
objp = FreeCADGui.Selection.getSelection()[1]# page to move view to.
objm = App.ActiveDocument.addObject('TechDraw::DrawViewPart',"test1")
objm.Source=obj.Source
objp.addView(objm)
objm.Scale=.obj.Scale
objm.LineWidth=obj.LineWidth
...... add more properties, etc, or select them all
then delete the original view....
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Tech Draw Navigation and general questions
pobj.removeView(objm) removes test1 from the Tree, but not from page display. Need to fix that. Closing/reopening page is a workaround.
Moving the view using the standard cut/paste or drag/drop doesn't look simple. Might be a while before you can do this in the Gui.
Re: Tech Draw Navigation and general questions
I was scared of doing that in a script as I am a newbie and wanted to make sure it works reliably. Tuning off the page "keep updated" on pages not being worked on really speeds up the process. You may want to post this to the naysayers about techdraw.
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Tech Draw Navigation and general questions
Naysayers?!! We have naysayers?? We are in good company then.
Re: Tech Draw Navigation and general questions
Another question:
Is there any way to tag items in FC with a circle (with mk number) and a leader pointing to the item? Cad-document.pdf shows an example and FC-document.pdf shows the FC equivalent. I generate the page, page views and bill of materials via python code.
Any guidance or advice would be appreciated
Is there any way to tag items in FC with a circle (with mk number) and a leader pointing to the item? Cad-document.pdf shows an example and FC-document.pdf shows the FC equivalent. I generate the page, page views and bill of materials via python code.
Any guidance or advice would be appreciated
- Attachments
-
- cad-document.pdf
- (43.84 KiB) Downloaded 96 times
-
- fc-document.pdf
- (522.52 KiB) Downloaded 66 times
- wandererfan
- Veteran
- Posts: 6326
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Tech Draw Navigation and general questions
Leaders/callouts didn't make it into this release. You can fake it by inserting an Svg symbol, but that isn't very elegant.