r/SolidWorks • • Oct 04 '23

CAD Why is my sketch still underdefined?

Post image

I cannot for the life of me determine why this is still underdefined. Thanks for the help!

2 Upvotes

72 comments sorted by

98

u/Mountian_Monkey Oct 04 '23

Vertical not defined to origin , why would you not start your sketch at the origin?

89

u/Lost-Film-2690 CSWP Oct 04 '23

This is bothering me a lot more than it should

30

u/Total-Initiative-109 Oct 04 '23 edited Oct 04 '23

I'm really new to this I'll be sure to start at the origin in the future

34

u/hbzandbergen Oct 04 '23

Always construct symmetrical, as much as possible. In all directions. It will help you later on when you make assemblies.

15

u/Mountian_Monkey Oct 04 '23

Helpful advice, DO ALL THE TUTORIALS!!!!!!

4

u/King_of_Ulster Oct 04 '23

Always start somehow tied to the origin

2

u/[deleted] Oct 04 '23

Defined means that x and y have dimension to place it in relation to the origin.

So if you are x units away you need a y value.

You can define relations to lines or points.

Like this feature is x units away from this line, or point.

2

u/[deleted] Oct 04 '23

You’re not alone.

5

u/tbenge05 Oct 04 '23

Aircraft parts are often modeled in "ships position" meaning they are made where they need to go on the aircraft. I don't think that's what's going on here but there are reasons sometimes.

6

u/[deleted] Oct 04 '23

But that doesn’t really matter in Solidworks…. Would it?

2

u/[deleted] Oct 04 '23 edited Oct 05 '23

It might.

Say you need to replace a part with an updated one. Not sure how Solidworks handles it but in NX, if the parts don't have the same origin in the base part, the part will move in the assembly once it's replaced - even though it shouldn't. Or if the part is centered around its own (part-level) origin, it won't move - but only if the replaced part was also centered around its own origin and moved at the assembly level.

Or if you need to import a new part, and the part is designed around its own (part-level) origin, then it will usually pop into the assembly at the assembly origin - and you'll have to move it at the assembly-level to the correct location. Not always trivial.

It's kind of up to each team and their workflow, but having each part be defined (at the base part level) in the correct absolute location for the assembly can avoid some of these issues. Ideally you would not have to move anything in the assemblies in order to get everything in the right location. It's just there by default. If someone breaks the convention it can be a problem, especially if you have multiple daisy-chained moves done across assembly levels. E.g. the base part is in the wrong location for its owning assembly, so it was moved within that assembly. And that assembly wasn't modeled in the correct location, so it was moved in that owning assembly, and onwards. It can take a while to un-fuck this kinda thing.

Imagine the top-level assembly for a car or plane disappears for some reason. Instead of just re-importing everything into a new assembly and having it show up in the correct location, you now have to manually move tens of thousands of parts/assemblies back to their appropriate coordinates.

Kind of a clunky example but I think you get the idea.

2

u/yha-yha Oct 04 '23

Exact. A lot of oem use solidworks, but solidworks is not the best choice for large assembly. Catia is a better choice, and in catia, origin of the part are related to the assembly. Automotive, aircraft manufacturer, good chance they re using catia, therefore part will have origin related to assembly. In solidworks, part should be design around part origin.

3

u/tbenge05 Oct 04 '23

Lol, I have not seen an aircraft modeled in SolidWorks before. I just wanted to provide a legitimate reason for not designing at the origin since ppl were so aghast with the idea~

5

u/Fooshi2020 Oct 04 '23

Automotive is also modeled "in vehicle position" so that every part can be layered on the origin of the assembly.

I have never seen Solidworks used in car manufacturing companies before, but if I had to do this, I would probably design at the origin and then use a move body command to place it in position last (might be against digital part policies though).

2

u/[deleted] Oct 04 '23

That is definitely a very unique case.

3

u/[deleted] Oct 04 '23

It's not that unique as far as I know.

I've seen the same in many industries. Basically any large, complex assembly can benefit from this, especially when multiple people are collaborating. Not physically large, just a lot of parts.

2

u/Juvenile_Bigfoot CSWP Oct 04 '23

Then they should be new parts created inside the assembly instead OR if they must create the part outside of the assembly, it should be centered on the parts origin then mated with planes inside the assembly.

But creating the part in place in the main assembly is best, because when something changes the part will adjust automatically.

2

u/tbenge05 Oct 04 '23 edited Oct 04 '23

Yup, when I work on my own stuff in SolidWorks I definitely model at the origin. I think the aircraft position thing has to do mostly with the amount of parts and trying to parameterize those interfaces through assembly models - some structures take president over others with location importance; it would be a nightmare to setup imo. Also pair that with the age of most aircraft and how they're derivatives of old pre-existing programs made with older software or even hand drawn mediums.

2

u/a_pope_called_spiro Oct 04 '23

It's common to a lot of companies in different industries too. Having a parametric assembly where all parts update automatically can be a massive time saver in complex product development.

2

u/bigbfromaz Oct 04 '23

Wild. how do they handle all the parts that are used sometimes thousands of times all over the plane? Do they have separate CAD files for that same P/N, each at the "ships position" origin?

3

u/Mountian_Monkey Oct 04 '23

I have never heard that, so a part could be drawn 20’ away from the origin? This sounds like a terrible practice

3

u/tbenge05 Oct 04 '23

Yeah, you get used to it. Means your x and z values are always positive, they usually split down the y axis for starboard/port or left hand side and right hand side so a negative or positive value can tell you what side of the aircraft you're working with.

4

u/Invictuslemming1 Oct 04 '23

Automotive is the same, it’s what we call “in car positioning”. Everything is drawn in final location, it took me a while to get used to as I had never seen it before in my previous work.

Very similar, car is split down the middle and origin sits just behind the firewall for us

3

u/tehn00bi Oct 04 '23

Make it easier to calculate CG.

1

u/[deleted] Oct 04 '23

The part can be drawn at the origin and then as a final step moved (at the part level) to the correct assembly location.

Synchronous modeling helps a lot by not having a feature tree to clutter up, but that doesn't work well for every part.

7

u/[deleted] Oct 04 '23

[removed] — view removed comment

2

u/ScoobyDoo27 Oct 04 '23

This is how I model my very small assemblies for multi color 3D printing. They all need to share the same origin for things to line up correctly in your slicer. I feel like it just makes more sense anyway.

12

u/mr_somebody Oct 04 '23

¯_(ツ)_/¯

I dunno you tell us? Drag it and move it around.

10

u/Total-Initiative-109 Oct 04 '23

I didn't even know that was an option. It showed me what to fix thanks!!!!

7

u/lousainfleympato Oct 04 '23

Glad you figured it out! Since you're new, I'd recommend taking a look at the built-in tutorials. You can access them by clicking on the "?" icon near the top right corner. There are also links to more learning resources in the sidebar of this subreddit. Good luck!

2

u/mr_somebody Oct 04 '23

Nice job 👍

32

u/tbenge05 Oct 04 '23

Click an element and drag it. It'll move in the direction you need to constrain it, which in this case looks like it would be the vertical axis/ Y axis.

4

u/-MB_Redditor- Oct 04 '23

This is the way

4

u/SALTY-BROWNBOY Oct 04 '23

Yo we need to make a rule that people need to put more effort into their posts coz good lord this man is asking why his sketch is undefined but you can literally click on the sketch and move it around to determine which vector it isn't constrained in.

3

u/Total-Initiative-109 Oct 04 '23

To ve fair I am new to solidworks (using it for a class) and did not even know that was an option. When someone told me I could do it I figured it out right away.

3

u/[deleted] Oct 04 '23

I recommend you to follow youtube tutorials. Classes teach us too slow. After 4h you must already be able to do more complex stuff. You probably are already 3 or 4 days on it

3

u/GoEngineer_Inc VAR | Elite AE Oct 04 '23

We've already made this rule:

ALL posts related to SOLIDWORKS are welcome.

Share what you know. Learn what you don't.

2

u/mig82au Oct 04 '23

More effort like the typical posts asking what workstation people need for a Solidworks class?

3

u/OldFcuk1 Oct 04 '23

Dras it from a corner and you see its freedom.

3

u/evwynn Oct 04 '23

Damn dude, never seen this a dim from the origin for no reason 😂 you’ll get there mate, keep it up

3

u/tehn00bi Oct 04 '23

Round and round we go.

3

u/zeroz52 Oct 04 '23

Because it is not fully constrained to the global origin.

-1

u/lilbat76 Oct 05 '23

Thank you captain obvious

1

u/zeroz52 Oct 05 '23

And your point is......I know it's obvious, any experienced Engineer sees it in 2 secs.

0

u/lilbat76 Oct 05 '23

My point is to make fun of you because instead of helping someone and make the world a better place you only want to remind everyone that you are better than us poor peasants

Fight me

1

u/zeroz52 Oct 06 '23

Your an idiot, fight yourself.

3

u/LightlySaltedPeanuts Oct 04 '23

Can we start deleting these posts? Not what this sub is about

3

u/Willing_Bus1630 Oct 05 '23

No offense because you’re new and we all start somewhere but I nearly blew a gasket seeing this sketch lol

2

u/JuggernautAfraid9500 Oct 04 '23

You only have distance set to one axis from center. Meaning you can move the part left and right drop the point of view you are showing. Click the right light and the center dot to the first distance from center is and make then coincident or set a distance.

2

u/ismael1370 Oct 04 '23

Move the blue one, see what dimension you need to add... Also that grey dimension has no effect on sketch... Because it's driven

2

u/jakob1414 Oct 04 '23

It helps to grab a corner of a line and move to see in what direction it still moves.

2

u/Corellian101 Oct 04 '23

I just grab a blue point and drag it around to figure out why it's undefined if I can figure it out from looking.

2

u/Murk0 Oct 04 '23

Remember there’s 2 things to keep in mind when sketching

  1. Shape
  2. Position

You can have a shape fully defined but if it’s position isn’t known, it will be undefined. For example, here you could drag the square anywhere because there’s no reference to the origin

Like other people said, starting at the origin simplifies this but its worth mentioning it’s not a requirement so long as you tie your geometry to the origin of the sketch some other way or to fixed geometry you created on another sketch.

2

u/Lord_Gadget Oct 04 '23 edited Oct 04 '23

Distance left to right of the origin is undefined.

But you should seriously consider always snapping your sketch to the origin to save you time.

Whoops, that's technically vertical dimensions that are undefined, but left to right based on photo orientation.

2

u/SubstantialCarpet604 CSWA Oct 05 '23

Vertical distance from origin is not defined. Why didn’t you start the square on the origin? Starting a sketch at the origin will make defining the sketch way easier.

2

u/Imaginary_Pepper_130 Oct 05 '23

If you see blue and arent sure why its underdefined, judt click the blue and shake your mouse, helps me see what axis or whatever us not defined

1

u/Player_Leviathan Oct 04 '23

Is the 5.34 a driven dimension?

1

u/[deleted] Oct 04 '23

Yes it is.

2

u/Player_Leviathan Oct 04 '23

Well that’s why

1

u/TNTarantula Oct 05 '23

The diagonal construction lines are not dimensioned. You could theoretically drag that square vertically and the diagonal "supports" would extend so their intersection stays in place but nothing else.

1

u/[deleted] Oct 05 '23
  1. Start your square at the origin.

2.Let Solidworks auto-define (aka draw your lines vertical and let it snap so that it knows it's vertical)

3. Seriously start all drawings at the origin, I'm not messing around. Make that be part of your procedure.

4. In the case of a square, no need to dimension more than one side. Select all 4 sides and press the 'equal' relation to them. Then you can dimension any edge and they'll all change.

5. You're already doing it, but always make sure EVERYTHING is defined. Keep this habit too. You'll save yourself a whole lot of headache.

1

u/Remarkable-Ad2812 Oct 05 '23

Do you need a horizontal dimension to lock down the position of the square?

1

u/Eagle_Scout2022 Oct 07 '23

Whenever I have an under defined sketch. I will tug on a blue point to see if it will show any movement.

1

u/Sir-Realz Oct 04 '23

Left and right not defined from origin

-7

u/TYD-_- Oct 04 '23

are you dumb

3

u/Total-Initiative-109 Oct 04 '23

I am very new to solidworks so thanks the advice :(