Unable to cut .svg extrusion into basic shape

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!
Post Reply
skatemax9
Posts: 2
Joined: Wed Nov 30, 2022 9:32 pm

Unable to cut .svg extrusion into basic shape

Post by skatemax9 »

Hey, all!

Just like many other posts that I've read, I am new to FreeCAD and am having trouble getting a logo extrusion cut into a basic cylinder. After importing the .svg file of my logo, it appears as over a hundred paths. After scaling it down to my required size and converting into a single sketch, I extruded it into a 3D shape and aligned it with my basic cylinder. The various tutorials and videos I have reviewed each have slightly different methods for cutting the extrusion into the shape, but each time it fails. Any help would be greatly appreciated! The svg, pictures, and system info are below.

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Attachments
Station 7 Logo.FCStd
(414.04 KiB) Downloaded 13 times
Screen Shot 2022-11-30 at 4.38.43 PM.jpeg
Screen Shot 2022-11-30 at 4.38.43 PM.jpeg (673.86 KiB) Viewed 449 times
kMN6py01.svg
(21.17 KiB) Downloaded 11 times
Last edited by skatemax9 on Wed Nov 30, 2022 10:38 pm, edited 1 time in total.
chrisb
Veteran
Posts: 53939
Joined: Tue Mar 17, 2015 9:14 am

Re: Unable to cut .svg extrusion into basic shape

Post by chrisb »

Hi and welcome to the forum!

You should upload the FreeCAD file as well, so that not everyone has to start from scratch.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
skatemax9
Posts: 2
Joined: Wed Nov 30, 2022 9:32 pm

Re: Unable to cut .svg extrusion into basic shape

Post by skatemax9 »

Got it! Thank you!
edwilliams16
Veteran
Posts: 3112
Joined: Thu Sep 24, 2020 10:31 pm
Location: Hawaii
Contact:

Re: Unable to cut .svg extrusion into basic shape

Post by edwilliams16 »

Part|Check Geometry on Extrude says Wire847 and Wire848 are self-intersecting - so they can't be extruded.

In the python console, I put

Code: Select all

shp = ActiveDocument.getObject("Extrude").Shape
Part.show(shp.Wires[846].copy())
Part.show(shp.Wires[847].copy())
Python indexes from 0, wire names from 1.
Screen Shot 2022-11-30 at 1.25.32 PM.png
Screen Shot 2022-11-30 at 1.25.32 PM.png (16.06 KiB) Viewed 381 times
This identified the problem. I went into Sketch, dragged the offending vertex so I got a non-intersecting closed loop and saved.
I increased the extrusion length to 5.1 mm so it stuck up above the Fillet and Part|cut.
Resulting file too big to upload.
Screen Shot 2022-11-30 at 1.51.11 PM.png
Screen Shot 2022-11-30 at 1.51.11 PM.png (99.81 KiB) Viewed 381 times
User avatar
papyblaise
Veteran
Posts: 7872
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Unable to cut .svg extrusion into basic shape

Post by papyblaise »

with me it works perfectly, the only problem is that the upper faces are coplanar
Change the height of the cylinder, or of the logo, and make the fillets at the end
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Unable to cut .svg extrusion into basic shape

Post by Shalmeneser »

:!: you can see the problem here with this face coming from nowhere (= from an 'error' in the path).
Attachments
Annotation 2022-12-01 113857.jpg
Annotation 2022-12-01 113857.jpg (19.53 KiB) Viewed 270 times
Post Reply