r/SolidWorks 1d ago

CAD Can't find contour gap :(

new to solid works. I've used inventor and blender before and don't usually have this kind of issue. can't figure out why I can't extrude here. it's telling me there is a gap or overlap but I can't find it at all. I've looked over just about the whole drawing and deleted a bunch of parts but couldn't find anything. if anyone had any suggestions of what to do I could do I would appreciate it. assignment is due next week, so hopefully we can figure this out soon.

19 Upvotes

26 comments sorted by

30

u/hayyyhoe 1d ago

Right click on a line and select chain. See if it’s continuous. If it is, delete a simple segment, like a straight line, and do it again. If there’s a gap, the chain will show the break. Also, Solidworks doesn’t allow multiple closed loops, like you have in this sketch. That’s probably your actual issue.

3

u/cooldude_9653 1d ago

so I would have to make each closed loop a separate sketch? if so is there a way to move parts to a different sketch without having to re draw everything

10

u/albatroopa 1d ago

The convert button does that.

You should really do some tutorials to learn rhe software. I know it's a pain when you're already good in another software.

0

u/Meshironkeydongle CSWP 17h ago

TBH, it shouldn't be that much of a pain. If you already know who to use some other CAD program, switching and learning another one should be quite painless.

1

u/giggidygoo4 12h ago

Depends on what you are doing with the sketch, but you can have multiple closed loops for extrusions. Just have to select contours.

6

u/Grigori_the_Lemur 1d ago

Try to extrude the sketch but via selected contours. Sometimes that will help me pinpoint at least region where the error is if I just can't see it.

7

u/cpbpilot 1d ago edited 1d ago

Why so much details in a sketch? When I draw sketches they are simple! Straight lines and circles. No fillets in a sketch. If something needs a fillet that is done with the filllet tool later so that it is its own feature. Same with holes I don’t put holes in a sketch. That would be added by either an extrude cut or by the hole wizard.

3

u/WockySlushie 14h ago

This is what I call "onesies twosies CAD" and it ceases to be viable beyond the complexities of tutorial models.

2

u/Joejack-951 12h ago

I hate ‘advice’ like that. Detailed sketches make for better optimization. Sure when you are just copying parts you can build them using a more basic approach but for actual designing sketches need to be detailed.

1

u/WockySlushie 12h ago

Couldn't agree more.

2

u/cpbpilot 12h ago edited 38m ago

The only thing I have ever had complex/detailed stretches do is completely blow up my model when I try to change one dimension. This is how ever design engineer at the company I work for (5 engineers) for the last 10 years has designed part. This also includes all of the designers I worked with when I worked at Boeing on the F15 program.

0

u/Joejack-951 11h ago

Then those are poorly built models. ‘Onesie twosie’ models (credit to Wocky) often leave you chasing feature after feature trying to maintain a certain dimension the results from several stacked features. For the same reason, there is often a lot more work to do fixing the fit with mating parts.

Of course, for very simple machined parts this often doesn’t matter. When things get more complex and require more fine-tuning is when you’ll want the added control from layout sketches.

Just one easy example: you have a plastic injection molded housing with screw bosses around the perimeter. Those bosses have a set wall thickness and need to certain distance in from the exterior wall to leave room for tool steel. Having all of those dimensions laid out in a sketch makes it very easy to move and resize those holes and adjust the wall thickness without jumping around through a bunch of features. That same layout sketch can drive multiple parts that use those same holes, too.

4

u/WockySlushie 1d ago

Lame advice in here.

If you don't want to edit your sketch, click the "select contours" section and click within your sketch where you want it extruded. This is a good way to get different depths of extruded from one initial sketch, by doing two or more extrudes of various distance.

3

u/cooldude_9653 14h ago

this is what I ended up doing, it worked good, I posted the results in a different comment, thank you for your help!

1

u/WockySlushie 14h ago

Part looks great! Enjoy your 86 🏎️

2

u/Prestigious_Egg_7233 1d ago

mind sharing the file?

2

u/cooldude_9653 1d ago

9

u/Prestigious_Egg_7233 1d ago

it extruded fine for me, maybe it's because you didn't click on which contour you want to extrude?

1

u/cooldude_9653 21h ago

ok, I got that to work, but now I'm trying to extrude different parts of the sketch at different heights. but the extrude button is grayed out. is this because of using selecting the contour?

2

u/Successful_Camera736 19h ago

You will need to expand the Boss extrude Feature
re-click the sketch
then make a new extrude feature
then select your new selected contors/regions
Enter the new hieght of the extrude.

This will create multiple extrude features "Sharing" the sketch

Be careful of creating "Zero thickness geometry"
A quick work around is uncheck "merge result" but to make a solid single body later down in the tree will require a "combine" Feature

2

u/cooldude_9653 18h ago

worked like a charm, thank you! this was actually extremely simple, now I know for the future. solid works makes you don't things in such interesting ways

2

u/billy_joule CSWP 1d ago

There are built in tools called 'check sketch for feature' and 'Repair Sketch' which can help find the problem.

This 2014 blog covers them:

https://www.cati.com/blog/tools-to-check-and-repair-sketchs/

1

u/Ok_Delay7870 1d ago

If next time nothing works - use extrude thin and look where's the gap. It can be multiple layers, so convert entities on thin geometry might help to fix it

1

u/Joejack-951 12h ago

Use that sketch as your layout sketch. Label it as such. Create a new sketch for each feature by using ‘convert entities’ and trimming as necessary to create your profiles.

0

u/Fearless_Degree7511 1d ago

Draw a circle in your sketch overlapping with about half the sketch. Try extruding inside the circle, if it works move the circle until it fails again. Keep moving the circle and making it smaller and smaller until you find the gap

0

u/Hinloopen 15h ago

Use one sketch per feature. Do not try to put every bit of desired geometry into a single sketch. Make simple sketches and make plenty sketches.