Table of Contents
Write a comment
so here another part of this mechanistic modeling is often cables of some kind or connector tubes tubing kind of thing and here i've got a rig i set up where i've got two objects right now and if i move one object the cable stay connected if i move the other object it connects to the cables and these are actually the cable parts here and i could grab the middle one here and adjust it to sort of dynamically adjust all these cables and so building a rig like this is going to be helpful for this type of modeling let's do it real quick i'm going to start with uh let's start with an n-gon or n-side uh i can bring this up to something like that let's make it just uh one centimeter there we go hit o and we'll just place a couple by hand here and so i'm gonna just zoom out still getting the hang of my pen we'll do it this way there we go and uh i'm just going to control drag hit t ctrl drag making sure that they stay on the same axis keeping them bundled together there we go and uh let's make another one over here and another one here maybe make this one a little bit bigger this is totally up to you this is just our beginning profile and let's group these together uh alt g i'll call this wire profile and nice thing about this system we're building here is this will be completely procedural so we'll be able to make adjustments later to any part of this um and the thing we're going to do here is we're going to sweep this but instead of just sweeping along a spline which would work something like this like if we came in here and grabbed a sketch yeah i'm trying to use the pen here but sometimes there we go all right so if i had another spline of some kind and then i used a sweep over here and i have turned on some sort of unability to click and hold let's just bring in sweep uh this doesn't work right off the bat because these are not connected let's go ahead and connect them i can't remember if i connected them or just put them all together i put them in here i connect and then put them in here there we go it likes that and so that gives us a wire but this is not procedural well i mean it's procedural but it's just not very controllable it's not really a rig at all besides just drawing it'd be hard to get everything going but in the sweep there's some important things here under details remember scale for wire rigs you know we're probably not going to use that a whole bunch but doing something to the rotation does allow you to you know make it much more interesting in terms of the stepping okay so that's sort of where we're going here but not not yet all right so let's leave name this wire profile our connected splines that way we could easily add some later if we want we'll keep that sweep around for right now we'll get rid of that spline cool so we're going to make a spline out of nulls we're going to do that with the tracer and so i'm going to go ahead and make a new null and let's go ahead and control drag it along the z axis so i have three there one two three and we'll call this one start and then middle and then end great and so now i can connect those with the tracer object so this is one that doesn't use the hierarchy instead we need to provide all the nulls we want to trace in here so i'm going to drag down middle and i'm going to drag down start there we go and i am going to say connect objects once we do that you see we do get a spline there and if i move the middle part you see it's connected however it's a straight line which is not exactly what we want and so in that case let's come back to the tracer this is where we have our spline connection and under spline we want let's go with b spline and we are also going to say we want uniform points great and so now the tracer is the new spline let me read that back down and so now if i put the wire profile back in here and the sweep and then the tracer in this order there we go now this is where we can adjust the different parts of it just by moving these nulls these nulls would be great if we had some way to see them so let's do that we'll select them all and we'll go to circle and i'll change it to z orientation so it's easier to see and maybe they're a little bit smaller in this case all right and so now they're much easier to select and move around great so now you can see where this is going again the amount of twisting is going to be down here under the rotation right so you can twist one way or the other you can also come up here to uh end rotation and twist things more or less great so let's uh make it even more interesting so now like the end here you can stretch things out i can move this one you can see how flexible and easy it is to position things the only thing that's not so great here is that we want these most the time for this hard surface machinery type thing you're going to want these to look like they're plugged in to some component and so as i angle the middle it gets uh it gets a little weird it doesn't really have the angle there so let's fix that under start i'm going to control drag it to right about there and the start one i'm going to drag as a child of start so it stays oriented there and then in the tracer i'm going to make sure that start one comes here great and so now i'm going to turn this one off i don't even need to access it this one essentially now is just keeping that little bit of angle there when it comes out so that it looks like it's actually plugged into what's going on let's do the same thing on the other side so grab the end over here and ctrl drag that in oops grab this there we go same thing make it a child here turn it off and then add it to the tracer the order matters here needs to go there great and so that is definitely better i don't need to access those that just sort of hold it in place and there's this one in the middle which i can move around great so this is functional just kind of as is um however if you wanted to take the rig sort to the next to the next level here then you could i'll just make two dummy objects here let's say this this is one thing and this is the other there we go and we want to connect these two with cabling uh instead of making these parts a child of that i'm going to sort of get them into position first that one's going to plug in there and then this one will plug in here there we go you see that the middle still works and we'll use a constraint tag here and so on the start i'll go shift c constraint and we want to constrain the essentially parent it to this cube so here and same thing here so just see constraint make sure you get the right one same thing parent constraint to this one there we go and so now these objects move we've uh they stay connected and if we rotate them they should still say connected and same thing over here while this works in the middle so this is pretty flexible once i had it this far or maybe right before i attached it to the cubes with the constraint tags i would just sort of save it as a template that i could come back and pretty easily use over and over again again totally procedural so if i need to come back and reduce the number of cables just a matter of turning this of
Thanks for your comment Riley Stankovic, have a nice day.
- Nellie Lothspeich, Staff Member
buddy in this video I'm gonna go over how to model a wire in cinema 4d and what we'll be doing is using this sweep tool to create that wire but not yet first we need to trace a line and a circle so let's get started I'm gonna be looking at my it's my front view so I'm gonna click my mouse button I'm gonna middle mouse click in my front of you just to get nice and close you can see here I'm in the front view I'm going to drag out a spline pen okay so here I'm gonna click and I'm just gonna undo that I want to definitely hold down my point so we get a nice smooth line and just make it kind of come around a little bit like that that should be fine I'll press return I'm gonna get off of this tool just to get back to model mode because you can see the pen still wants to do it today I'm gonna get off that target if I move tool if you see a spot where your spline you feel like you want to make it a little bit smoother you actually can there's a new tool called the spline smooth and if you just hold down in that region there and you can just see it you can kind of smooth out a spline by using this okay all done let's get back to that move tool now I'm gonna make a circle so if I hold down where those splines are here is a circle spline I'm not gonna trace a sort of spot I'm just gonna make one so it's large I'm just gonna move it over here and scale it a little bit smaller so away from the gizmo you can start proportionally I'm gonna make it about this small and what I'm gonna do is move it right on top of just flying just like that so it's right in the center okay kind of see that may be good so let's get back to the perspective view click little mouse button and you can see now I'm all set I have my circle and my spline and what I'm gonna do is I'm gonna go for that tool now the sweep tool it needs to be in the correct order so you're gonna drag the spline the word spline into the word sweep when you get the down arrow you know you're there and then I'm gonna drag the circle into the word sweep and you can see that I've created this wire shape the circle I can scale by selecting the circle and I could scale this to make it larger one thing you can also do with this sweep if you select the sweep there are some options under object down here where we could have the scale the end scale come down so now you can see it scales to a point so the end scale used to be under 100 I'll bring it back I can certainly go higher than 100 you can do the the end growth can you can even animate something like this but you can have the growth not be the full length of the spline or they start growth you can change as well so there's some interesting things you can do with just dragging around some of these sliders you can also add a calf if you don't like this hard edge you can go to caps and let's see you would see what this does yep so you would drag up the size just like this and this round cap I'm not sure what these do so curve solid stepped oh that's great look at that step you can change the bevel shape a lot of this is new to cinema 40 version 21 so that's why I kind of just clicking all around oh that yellow stuff I believe is new everything in here is now so but I think you kind of get it now this is how to create a wire in cinema 4d so give it a try keep an eye out for my next tutorial and good luck
Thanks LabLeraAdurgeW your participation is very much appreciated
- Nellie Lothspeich
About the author
I've studied phytopathology at University of Mississippi Medical Center in Jackson and I am an expert in planktology. I usually feel depressed. My previous job was sport's/entertainment agent (manager) I held this position for 21 years, I love talking about storm chasing and fencing. Huge fan of Jennie Finch I practice beach volleyball and collect buttons.
Try Not to laugh !
Joke resides here...