Design optimization

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!
darrenmsmith
Posts: 60
Joined: Sun May 12, 2019 6:26 pm

Design optimization

Post by darrenmsmith » Wed Jan 15, 2020 4:23 am

I have been working to design a smart cone and have an ultrasonic device that I would like to mount higher up in the cone. The box and pocket method kind of works but, was hoping someone could come up with a better implementation that would be easy to move around. Both vertically and direction. The other key thing is that I don't want the box to protrude outside the cone shape. Ideas? Thanks for any help.
Regards,
D..

[img]C:\documents\cone v6\don.png[/img]

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18778 (Git)
Build type: Release
Branch: master
Hash: f55cf3ef103532c9718c108bd856a4ef06ad49a5
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Attachments
Cone.PNG
Cone.PNG (154.08 KiB) Viewed 455 times
cone 021-base.FCStd
(1008.43 KiB) Downloaded 13 times
chrisb
Posts: 21407
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb » Wed Jan 15, 2020 8:10 am

Usually I recommend to reference only sketches and main planes, and not any edges, vertices or faces. However, it is rather difficult to have the box not protruding outside of the box, without using a reference to the loft. In this case I would do the following:

- make the origin visible
- make Pocket001 Reversed hole for box visible
- create a DatumPoint at the left upper corner of the cutout
- create a DatumPlane parallel to XZ-plane and going through that DatumPoint
- set the y-offset of CopySketch005 to 0. This produces an error - ignore it for now
- Select the DatumPlane and map CopySketch005 to it.
- hide Origin and DatumGeometry
- edit CopySketch005 and place it correctly. You can use external references to sketch Ultrasonic cut out
- edit Pad001 for box, uncheck symmetric and check reversed
Attachments
cone 021-base_cb.FCStd
(815.42 KiB) Downloaded 13 times
darrenmsmith
Posts: 60
Joined: Sun May 12, 2019 6:26 pm

Re: Design optimization

Post by darrenmsmith » Wed Jan 15, 2020 8:47 pm

Is there a way to match the twist in the cone? Could a triangle shape be used to offset the mounting holes rather than a box? The top would have to be 12mm back so that the Ultrasonic device (HC-SR04) wouldn't stick out.
Attachments
hc-sr04.jpg
hc-sr04.jpg (19.25 KiB) Viewed 397 times
chrisb
Posts: 21407
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb » Wed Jan 15, 2020 9:32 pm

darrenmsmith wrote:
Wed Jan 15, 2020 8:47 pm
Is there a way to match the twist in the cone?
At which point should the twist be respected? If it is the upper or lower side you can use different attachments for the DatumPlane: let it go through the two points where the cutout hits the twist.
Could a triangle shape be used to offset the mounting holes rather than a box? The top would have to be 12mm back so that the Ultrasonic device (HC-SR04) wouldn't stick out.
Sorry but I don't understand a word.
darrenmsmith
Posts: 60
Joined: Sun May 12, 2019 6:26 pm

Re: Design optimization

Post by darrenmsmith » Wed Jan 15, 2020 11:43 pm

Thanks Chris for the dialog. Ideally, I would like to have the flexibility to move the object (Ultrasonic box) up, from side to side. The reason is that with 3D printing and eventually a mold I will want some flexibility. When printing there is a lot shrinkage. I guess part of my gap in knowledge is around the DatumPlane. As you move the object into the cone will it cut off the excess box regardless of how far it protrudes?

Thanks Again! D..
chrisb
Posts: 21407
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb » Thu Jan 16, 2020 7:42 am

Now I understand what you want - at least I think so: You want to keep your model but without the protruding part of the box.

I think you should remove the pocket for the box and make the box "up to last". No time to give an example now, please ask back if you need it, and I can add it later.
chrisb
Posts: 21407
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb » Thu Jan 16, 2020 8:39 am

Here is my proposal. I have moved the box 2mm further into the box, to be able to use "Up to last" for the pad.
Snip macro screenshot-bf7340.png
Snip macro screenshot-bf7340.png (34.27 KiB) Viewed 331 times
Attachments
cone 021-base_cb.FCStd
(371.64 KiB) Downloaded 9 times
User avatar
hammax
Posts: 1003
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Design optimization

Post by hammax » Thu Jan 16, 2020 9:12 am

… another approach:
Cone and Cube primitives + 1 Sketch. Done with boolean operations.
A 3D printer friendly body and a learning example/puzzle.

PartWB_Boolean.PNG
PartWB_Boolean.PNG (40.4 KiB) Viewed 319 times
Attachments
PartWB_Boolean.FCStd
(37.16 KiB) Downloaded 5 times
User avatar
papyblaise
Posts: 1119
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Design optimization

Post by papyblaise » Thu Jan 16, 2020 11:01 am

I tray to do one , "more paralèl" to the face
I do a grove along the face, inside this grove I do the box ;
Attachments
cone-1.PNG
cone-1.PNG (51.84 KiB) Viewed 310 times
cone.FCStd
(32.45 KiB) Downloaded 6 times
User avatar
bejant
Posts: 6059
Joined: Thu Jul 11, 2013 3:06 pm

Re: Design optimization

Post by bejant » Thu Jan 16, 2020 2:04 pm

My thought was to use a Subtractive Loft to remove the protrusion:
20200116a.png
20200116a.png (34.5 KiB) Viewed 279 times
20200115b-cone 021-base.FCStd
(154.12 KiB) Downloaded 7 times


OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.19. (dated 2020-01-05)
Build type: Release
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Post Reply

Who is online

Users browsing this forum: galljj and 13 guests