Unable to create 2D drawing from 3D part

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
onebigfish
Posts: 21
Joined: Mon Oct 20, 2014 2:41 pm

Unable to create 2D drawing from 3D part

Post by onebigfish »

I created a fancy little part in 3D, called MyBracket (attached). I want to put it into 2D on a drawing. Here is the process I am going through.

1. Click Drawing > Insert new drawing > A4 Landscape.
2. Select the part in the Combo View panel that I want to put in the drawing.
3. Click Drawing > Insert orthographic views.
4. From the Tasks tab, choose the projection and views that I want, sending click OK.

When I do this, I get a blank page (See attached). What am I doing incorrect, and how do I do it correctly?
Attachments
Screenshot
Screenshot
untitled-1.png (206.55 KiB) Viewed 2599 times
MyBracket.FCStd
3D part
(85.07 KiB) Downloaded 42 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Unable to create 2D drawing from 3D part

Post by NormandC »

Hello onebigfish,

The file you attached does not contain your drawing template nor the views you created. Your screen capture shows you created a custom template. The problem is quite probably there.

Have you tried changing the template to one provided with FreeCAD? (You can do that on its properties in the Data tab) Does it show the views?

When creating your template, have you followed the Drawing Template HowTo? You need to insert some code in the SVG and that has to be done with a text editor.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Unable to create 2D drawing from 3D part

Post by NormandC »

I tested with the A3_Landscape.svg template, and views of your model are shown on the page as expected.

Version used:
OS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Unable to create 2D drawing from 3D part

Post by bejant »

I tried it with A4 and didn't have any problem either.
1. Downloaded your file and opened it in FreeCAD.
2. Changed to the Drawing WB and clicked the A4 Landscape icon:
Image
This created a new drawing page, and the graphics window updates to display it.
3. In the tree view I selected "Cut010" by clicking on it.
4. I clicked the Orthographic Projection icon:
Image
5. Then selected the top and right views to add them too, and it looks like this:
20141106b.png
20141106b.png (56.28 KiB) Viewed 2577 times
normandc wrote:The file you attached does not contain your drawing template nor the views you created.
So maybe you deleted the Page folder by mistake?
Attachments
20141106b_bracket.fcstd
(92.17 KiB) Downloaded 42 times
onebigfish
Posts: 21
Joined: Mon Oct 20, 2014 2:41 pm

Re: Unable to create 2D drawing from 3D part

Post by onebigfish »

Yes, I did create a custom template in Illustrator. I did not know there was any special requirements for it. I will follow the instructions on the link and see what I can do. I see that others are able to create it, so it must not be the 3D source file that is the problem.

Thanks!
:D
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Unable to create 2D drawing from 3D part

Post by quick61 »

onebigfish wrote:Yes, I did create a custom template in Illustrator. I did not know there was any special requirements for it. I will follow the instructions on the link and see what I can do. I see that others are able to create it, so it must not be the 3D source file that is the problem.

Thanks!
:D
Sense you already have the "artwork" down, I would start here - Once Your Template Is Made - You do not need to input the Border and Tilte Block defines, but they sure are nice, and it might be good practice to do so. If you want editable text, following the directions in the How To is a must.

The one thing you absolutely must have in in the SVG template for it to work with FreeCAD is - The DrawingContent Tag - Without it, FreeCAD has no way of knowing where to insert any new information into the document. This is the one thing that is stopping you from adding your views to your template.

Mark

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
onebigfish
Posts: 21
Joined: Mon Oct 20, 2014 2:41 pm

Re: Unable to create 2D drawing from 3D part

Post by onebigfish »

It worked, thanks!
onebigfish
Posts: 21
Joined: Mon Oct 20, 2014 2:41 pm

Re: Unable to create 2D drawing from 3D part

Post by onebigfish »

This might be a dumb question, but how do you edit the text in the title block once it is in FreeCAD? I followed the instructions for creating the template, so I have the freecad:editable in the file, but I cannot find a tool for editing the text.
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Unable to create 2D drawing from 3D part

Post by quick61 »

Once you have loaded your Template, select it in the tree view and click on the Data tab. There you will find the editable text. Click on it and you will then see the little [...] button on the left, Click it and you will be presented with an Edit dialog.

Mark
EditText.png
EditText.png (12.68 KiB) Viewed 2479 times
This post made with 0.0% Micro$oft products - GOT LINUX?
imagecatcher
Posts: 2
Joined: Sun Jan 11, 2015 8:09 pm

Re: Unable to create 2D drawing from 3D part

Post by imagecatcher »

quick61 wrote:Once you have loaded your Template, select it in the tree view and click on the Data tab. There you will find the editable text. Click on it and you will then see the little [...] button on the left, Click it and you will be presented with an Edit dialog.

Mark
What I'm working with.
The attachment EditText.png is no longer available
OS: Mac OS X
Word size: 64-bit
Version: 0.14.3703 (Git)
Branch: releases/FreeCAD-0-14
Hash: c6edd47334a3e6f209e493773093db2b9b4f0e40
Python version: 2.7.5
Qt version: 4.8.6
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.7.0

I have created a title block in inkspace and followed the FC tute on editable text but I do not understand how to access the editable fields. {Quick61} screen shot is different to mine.
I am totally new to FC.
Attached is my title block, I have gone over and over it for syntax errors (from a newbs perspective). So I think it is just a case of not knowing 'ALL' FC workflow/steps to reveal them in the Tree view.
My desire is to use the template for importing the contour maps/orthos, DEM's from our UAV. Then print as a pdf.
1. I hope you can help.
2. I hope doing this FC title block approach works for me.

Thanks in advance.
Troy
Attachments
RPAS_2_A4.svg
Title block A4
(97.84 KiB) Downloaded 197 times
Post Reply