Part design question.

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!
ShapeShifter
Posts: 30
Joined: Sat Jul 05, 2014 2:52 pm

Part design question.

Post by ShapeShifter »

hi,

I am using:

OS: Ubuntu 12.04.5 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4159 (Git)
Branch: master
Hash: fa3a2a0d3a7a0a619ab6323e236376bb43636e79
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
OCC version: 6.7.1

I am trying to make an irregularly shaped box with a lid - Think like a pill box, but a complicated shape in X and Y.

Now i start with a sketch on the XY plane, and then extrude it via the pad command to the required height.

Then I make a sketch on the top surface to define the wall thickness, and make a pocket. This gives me a box base with the shape and wall thickness I want.

So far so good.

What I would now like to do is to use the first sketch at the box base height instead of at z = 0 to define the outside profile of the lid, to make sure the two parts match, and to extrude that for the lid height by padding it up.

I need to end up with two separate parts.

So I suppose the question is: How do I copy a sketch to a different position along an axis? I can't find a way to do it, and any tips would be appreciated.
User avatar
quick61
Veteran
Posts: 3803
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Part design question.

Post by quick61 »

Select the sketch you want to copy and go to Edit > Duplicate selection. This will make a duplicate of the sketch. Now select the new sketch and go to Edit > Placement and move it up the Z axis to the desired height. Sense it is not mapped to anything, this will be the beginning of a new part, Pad it and carry on.

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
ShapeShifter
Posts: 30
Joined: Sat Jul 05, 2014 2:52 pm

Re: Part design question.

Post by ShapeShifter »

Thank you.

I have been trying to use right click and copy, but then the paste is elusive.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Part design question.

Post by NormandC »

Hello ShapeShifter,

Thanks for posting your FreeCAD info.
ShapeShifter wrote:Then I make a sketch on the top surface to define the wall thickness, and make a pocket. This gives me a box base with the shape and wall thickness I want.
An alternative is to use Part Thickness to hollow out your solid. This doesn't require creating a sketch.

See viewtopic.php?f=3&t=3766#p29547
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Part design question.

Post by bejant »

ShapeShifter wrote:I have been trying to use right click and copy, but then the paste is elusive.
To Paste I use Crtl + V which (for me) works reliably.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Part design question.

Post by jmaustpc »

another way, if you want to link the second sketch so that it is always a duplicate of the first, is to use the Draft Workbench Clone on the first sketch, then adjust the placement of the Draft Clone to move it in the z (or any other) direction.

you can apply PartDesign tools to the Draft Clone object in the same way you would if it was a sketch.

Since you have a recent enough FreeCAD this will work for you. I don't think it was there yet for anyone still using 0.14.3703 etc..
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Part design question.

Post by jmaustpc »

one point to be aware of with the clone of a s ketch is that the Pad of this clone will create a new independent solid, which is normally not what you want in PartDesign. However in this case you do want a separate solid, presumably, for the lid.

If you did want this solid to be a part of the first solid, you would have to Part WB Fuse the result of the Pad from the Draft Clone.
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Part design question.

Post by jmaustpc »

here is a demo file of the Draft Clone on an sketch etc......

the file

draftcloneofsketch.fcstd
(22.87 KiB) Downloaded 38 times

a screen shot
draftcloneofsketch.jpeg
draftcloneofsketch.jpeg (45.86 KiB) Viewed 2144 times
ShapeShifter
Posts: 30
Joined: Sat Jul 05, 2014 2:52 pm

Re: Part design question.

Post by ShapeShifter »

normandc wrote:Hello ShapeShifter,

An alternative is to use Part Thickness to hollow out your solid. This doesn't require creating a sketch.

See viewtopic.php?f=3&t=3766#p29547

Cool, Thank you - it sort of works for me - I can hollow out the lid that way, but I get error messages if I try it on the base - this is weird, as the parts are based on the same sketch, the diffference being the that the missing surface for the lid is the one that the sketch was padded from, while in the other case it is the opposite surface.

I am probably doing something wrong.
Attachments
sensor2.fcstd
the thing I am working on
(116.2 KiB) Downloaded 40 times
ShapeShifter
Posts: 30
Joined: Sat Jul 05, 2014 2:52 pm

Re: Part design question.

Post by ShapeShifter »

bejant wrote:
ShapeShifter wrote:I have been trying to use right click and copy, but then the paste is elusive.
To Paste I use Crtl + V which (for me) works reliably.
Thanks - kind of like pasting into a linux console... I will try it
Post Reply