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: 66
Joined: Sun May 12, 2019 6:26 pm

Design optimization

Post by darrenmsmith »

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 1210 times
cone 021-base.FCStd
(1008.43 KiB) Downloaded 52 times
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb »

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 49 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
darrenmsmith
Posts: 66
Joined: Sun May 12, 2019 6:26 pm

Re: Design optimization

Post by darrenmsmith »

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 1152 times
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb »

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.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
darrenmsmith
Posts: 66
Joined: Sun May 12, 2019 6:26 pm

Re: Design optimization

Post by darrenmsmith »

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
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb »

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.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Design optimization

Post by chrisb »

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 1086 times
Attachments
cone 021-base_cb.FCStd
(371.64 KiB) Downloaded 42 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
hammax
Veteran
Posts: 1985
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee DE

Re: Design optimization

Post by hammax »

… 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 1074 times
Attachments
PartWB_Boolean.FCStd
(37.16 KiB) Downloaded 43 times
User avatar
papyblaise
Veteran
Posts: 7867
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Design optimization

Post by papyblaise »

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 1065 times
cone.FCStd
(32.45 KiB) Downloaded 44 times
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Design optimization

Post by bejant »

My thought was to use a Subtractive Loft to remove the protrusion:
20200116a.png
20200116a.png (34.5 KiB) Viewed 1034 times
20200115b-cone 021-base.FCStd
(154.12 KiB) Downloaded 28 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