How to create a Triangle Primitive in Carrara?

ShazGTShazGT Posts: 15
edited December 1969 in Carrara Discussion

Been driving me nuts, messing with menu options, google searches, youtube searches, etc. And coming up with nothing.

I even redownloaded and reinstalled Hexagon, hoping maybe something in that would allow me to create a triangle Primitive.

Messed around with some things, but really couldn't get it to do what I wanted.

Since I don't have any good CAD software, I figured I could make a mock up of something I want to build for my Entertainment center, in Carrara, I have managed to build the bulk of it fine, but part of the base of the shelf I want to come outwards like a triangle, like in this pic attached.

Triangular part is to provide a more stable footing for the shelf, sitting on the console the LCD HDTV sits on, with at least 2x 4 foot long shelves above and behind TV for DVD's, and a large open area at the base behind the TV, to install a small UPS for my HTPC, and Surge protectors, as well as excess wiring behind TV.

However, I can't seem to get how to make something like that. All the pieces of wood for the project would be about an inch thick or so. but trying to figure out how to get a primitive shaped and resized as needed for the triangular section.

Or even if its possible to create a 5 sided single piece (basically both pieces merged together).

I'm not that proficient with modeling in Carrara or Hexagon, only some really basic primitives and stuff, mostly what I've used Carrara for is setting up scenes with models/meshes by others, and just editing textures, lighting, effects, particles, basic animation, etc.

And its been 20 years since I've used any CAD Software, so really out of the loop.

«1

Comments

  • ShazGTShazGT Posts: 15
    edited December 1969

    wha? 1 Post? New Member? Been awhile since I posted to the forums, did everyone's post counts get wiped with the new forums or something?

  • VarselVarsel Posts: 574
    edited December 1969

    I don't think there is any triangle primitive in Carrara, so you have to model it.

    The quickest way would be to use the spline modeller.
    That is the icon that looks like a glass.
    Use the pen to draw the shape.
    You can then afterwards adjust the shape and size, by mowing the points that the shape is made out off.

    You will find more information about the spline modeller in the manual. Under Help - Carrara help in the menu.
    There might be some tutorials on Youtube, search for Carrara Spline or Carrara Tutorials.

    And yes. all the post counts got wiped out with the new forum.

  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    You could create a cube primitive and edit it in the vertex modeller,. .. scale it''s width,. then select the top section and scale it down to almost a point. (pic),... But As far as I know, you can't create your own "Primitive" objects,. without coding them into carrara.

    You could also draw a triangle in the vertex modeller, then extrude it, to create the shape you want.

    Or ,. use the Spline modeller as Varsel suggested.

    Primitives are an easy way to quickly visualise things, but. not always the best way to construct more complex models.

    you should really take a look at the modelling rooms in Carrara, ..you'll have much more functionality and flexibility when you learn to use the modelling tools.

    All forum counters were reset to 0 when the forums were changed,. (AFAIK) there wasn't a way to automatically shift that info across to the new system.

    Hope it helps :)

    tri-cube.jpg
    1402 x 773 - 149K
  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Another simple method:-

    In the VM, make a 3D rectangle, weld the two top verts, translate to be vertical to one of the bottom vets, give it thickness.:)

  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    ShazMX6 said:

    Or even if its possible to create a 5 sided single piece (basically both pieces merged together).

    I'm not that proficient with modeling in Carrara or Hexagon, only some really basic primitives and stuff, mostly what I've used Carrara for is setting up scenes with models/meshes by others, and just editing textures, lighting, effects, particles, basic animation, etc.

    And its been 20 years since I've used any CAD Software, so really out of the loop.

    I have no clue about how to use CAD, but Carrara can give you real-world measurements.
    In the top line of this quote, I think that may be the easiest and quickest way to go for this.

    Sorry for taking so long to respond, but the title mentions something that just isn't there, so I left the question for others whom may know better.

    Anyways, in my example modeling images, I don't get to the scale you're looking for... I am more concerned with showing you how to build your model.

    A common modeling practice for me is to begin with a cube, and make extrusions from that, and then shape the polygons and edges into the shapes I need. So following the image sequences below, I start by constructing a cube.

    To get to the first stage, open a new (or existing for that matter) scene and Insert a Vertex Object. Thiswill snap you into another room, the Modeling Room, and as you'll notice, there's nothing here but a set of grids.

    So our next step is to Construct a 3D Cube (see top of image 1)

    You could now scale the cube to the size of the shelf, if you want. Or you can wait until a later step.

    Since the triangle in your image doesn't come all the way to the top, we need to add a new edge, a bit lower (see Bottom of Image 1 and top of Image 2)

    In the images, I show you where to select the Extract Along tool, which is granted by clicking on the tiny arrow next to the tool that's opening into choices. Hovering your mouse over each of the choices will reveal the tool names. In this case, we need "Extract Along".

    With the top edge of the cube selected, and activating the Extract Along tool, we now left-click below the selected edge and drag the mouse. You're looking for a faint green line. This green line shows where the new edge will be placed. Note that, if you don't see the green line right away, then it's going off in a different direction, so drag your mouse the other way.

    The top of Image 2 shows where I've made my new edge.

    Please let me know if you need any further instructions on any of this, okay?

    Now let's look at the lower portion of Image 2, where I have the newly formed polygon selected, showing in pink. That image also shows the location of our next tool, the Dynamic Extrusion Tool. This is my most used tool when modeling, as I start with a cube and keep making extrusions as I shape my model. Here are some helpful tips about this tool:

    Hold down Ctrl to extrude uniformly, perpendicular to the selected polygon, no matter which direction the polygon is facing. So, for example, if I need to make a part that comes out of a model at a 45 degree angle, I can first extrude out a small base, then rotate the resulting polygon 45 degrees (hold Shift while rotating, will lock rotations to 45 degree increments), and hold the Ctrl key down to extrude from that angled polygon, and the extrusion will follow that 45 degree path! :)

    Hold down Alt to extrude uniformly within the same plane as the selected polygon. This is useful for making smaller or larger areas of selection along the plane of any polygon. For example, Alt drag an extrusion on a square polygon to make a smaller square within that polygon, or a larger one that surrounds it.

    This is getting beyond your question, but I'd like you to try these extrusion methods, so that you know how they work. It will help you to take my simple explanation tutorial further to finish your shelf!

    So, back to the extrusion.

    At the top of the final image, you can see that I held down the Crtl key and extruded out a new box.

    In the lower part of that final image, I've grabbed the top edge of that new box, and brought it back to the original box.

    TriangleShape_3.jpg
    1678 x 1750 - 1M
    TriangleShape_2.jpg
    1678 x 1750 - 1M
    TriangleShape_1.jpg
    1678 x 1750 - 1M
  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    I can now see, after seeing my post, that it can be hard to tell one image from the next. So when I'm saying "Top of the second image" sort of thing, just know that I have posted three images, each containing two views... okay?

  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    Now, using those thoughts, you can do this several different ways.

    One would be to subdivide the original cube enough so that, when you extrude the triangle bits, they're already at the right thickness.

    Instead of subdivide, however, I would use Extract Along, to place the edges for the shelving brackets at the appropriate positions. Then do the remaining extrusions.

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Just as an exercise in modeling in C, I did the shelf as a one-piece construction. Now I need to bevel the edges to make it look better. The closest I could find to bevel is fillet and fast fillet - both cause a mess. In Hex, this is simple - just select the model, go to the bevel tool, select all and set the numbers.

    You end up with some N-gons, but that is easily fixed by triangulating.

    How would I go about this in Carrara?

    shel.jpg
    1024 x 768 - 161K
  • 3DAGE3DAGE Posts: 3,311
    edited December 1969

    Hi Roy :)

    You're using the right tools,.. (fast fillet and Fillet) are what you'd use to bevel an edge.

    I'm not sure how you're working, but unless you're selecting the entire object and using fillet, or fast fillet, ..then it shouldn't create any mess.

    You should select the edge you want to bevel, and use the tool on that edge or loop. and get a nice flat fillet and clean edges.

    fillet.jpg
    871 x 547 - 54K
  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    Cool. Another way, too, depending on your work style, is to use Extract Along, as pictured earlier, to simply add another edge nearby. Or Extract around to create an extra edge on either side of those selected.

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Hi 3dage :)

    Thank you. OK, some small terminology difference - Carrara's fillet in Hex is chamfer and fast fillet is fillet - in woodworking terms, that is the difference between sanding an edge and planing it !

    Right - after some more experimenting with fillet (chamfer - because I want to sand it, not plane it) I found that it worked, as long as I only did one edge loop at a time - say, first the top then the bottom - always only selecting outside edges. It works fine on a simple cube to do them all at once, but when it become complex, it simply does nothing, or totally trashes the mesh.

    See the first pic - the top shelf worked in this way, although there is one highlighted edge it won't work on.

    The bottom shelf is the same as the top, just with the font face extruded to give an overhang - on this one, both fillet and fast fillet refused to do anything at all!

    The second pic was done in Hex - all in one operation. I guess Hex is clever enough to know that only outside edges must be chamfered, but Carrara is intelligent enough to know that carpenters do not build shelves as one-piece constructions:)

    An inconsistency I found - when using backspace to dissolve an edge, it will mostly work perfectly, but on one particular edge, it would delete the edge and adjoining faces - couldn't see any reason for this - it is simply a left-over edge after bridging.

    @ Dart - that method will make the edges sharp, not rounded off, as in sanding :)

    shelf2.jpg
    1024 x 768 - 189K
    shelf.jpg
    1024 x 768 - 184K
  • DiomedeDiomede Posts: 15,026
    edited December 1969

    Hi all,

    If I am understanding correctly, I haven't been able to reproduce the problem. In these pics, I made a vertex bench similar to Roygee's. I then selected the whole thing and clicked the fillet tool (not quick fillet). The edges were smoothed and the little plus/minus icon came up allowing me to increase or decrease the degree of fillet.

    Seemed to work fine.

    bench_smooth.jpg
    640 x 480 - 8K
    fillet_tool.JPG
    578 x 505 - 44K
    bench_1.JPG
    657 x 448 - 31K
  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Yes, it works fine like that because it is not a one-piece construction - it is three separate simple meshes. Introduce a bit of complexity by cutting in extra edges and extruding the legs and see what happens:)

  • DiomedeDiomede Posts: 15,026
    edited December 1969

    It was a single polymesh. Just for grins, I inserted a cube and did some odd extrusions. Still not getting the same problem you got. Not sure why, but the fillet tool does not seem to be giving me the same results that it is giving you.

    extrude_2.JPG
    625 x 459 - 39K
    extrude_1.JPG
    638 x 467 - 35K
    single_mesh.JPG
    872 x 527 - 60K
  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Interesting!

    C is busy right now with a long render - I'll give it some more tries with different types of extrusions, see if I get what you have :)

  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    This is cool... we've got Roygee modeling in Carrara... now we have to keep him! Thanks 3dage and Diomede, and others.
    You'll learn to love it Roygee... I know you will!

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    OK - figured it out...where a shape is extruded from inside a face, it handles it OK. When extruded flush with a face, as it would be to make a shelf fit flush against a wall, it doesn't. i'm not surprised by that, it is actually how it should be, given shape of the loop. In fact, I'm surprised that Hex handles it so cleanly!

    The first two pics are modeled in Carrara and the next two modeled in Hex and brought in to Carrara.

    Must add that I'd never actually model a shelf as a one-piece construction - unnecessarily complex - I like to keep a model in as many individual pieces as I can get away with. Makes UV mapping simpler, as well. This was just an exercise to see what Carrara can handle!

    Hey, Dart - dream on buddy - there are just too many functions in Hex that Carrara doesn't have that I've got used to and rely heavily on :)

    shelf4.jpg
    640 x 480 - 11K
    shelf3.jpg
    1024 x 768 - 229K
    blockextrude2.jpg
    640 x 480 - 26K
    blockextrude1.jpg
    1024 x 768 - 230K
  • DiomedeDiomede Posts: 15,026
    edited December 1969

    Here are a few pics to show what I get when using fillet where an extrusion is flush to a side. Result appears to remain flush to the side. Not sure what the problem is. :ohh:

    flush_3.jpg
    640 x 480 - 10K
    flush_sides_2.JPG
    571 x 549 - 33K
    flush_sides_1.JPG
    457 x 388 - 27K
  • RoygeeRoygee Posts: 2,247
    edited April 2014

    OK - my first bit of detective work gave me a wrong assumption - but I'm sure I've nailed it this time!

    Try extruding from the face of the bench - as in the lower model of the first pic. In the second pic, the top one fillets correctly, but the bottom one is a mess where marked. Tracked this down to non-manifold edges (internal faces) produced during the extrusion. As this is a random error and there are no diagnostic tools in Carrara as there are in Hex, it took a while to find. Difficult to trace, because you can't look inside by hiding faces, as Carrara hides adjoining faces as well. The wireframe gives no clue either.

    The penny dropped when I tried to loop select what looked like a perfect edgeloop, and it wouldn't. That is always a clue that something is wrong inside.

    I'm sure that I've read somewhere that producing non-manifold edges is a problem with Carrara extrusions - how to spot when this happens - but more importantly, how to avoid?

    See why I prefer Hex, Dart:

    EDIT: OK - my bad, just noticed that the default extrusion setting is not to have polys linked - weird!:red:

    bench2.jpg
    1024 x 768 - 222K
    Bench1.jpg
    1024 x 768 - 191K
    Post edited by Roygee on
  • DUDUDUDU Posts: 1,945
    edited December 1969

    Today, I learned how to use the “boolean” tool in the vertex to modeler.
    I made to this jewel especially for you Ladies…

    Download file here: http://mhdproductions.be/Carrarators/Bijou.car

    Bijou.jpg
    640 x 1000 - 129K
  • DiomedeDiomede Posts: 15,026
    edited December 1969

    @Dudu - beautiful work! Can't wait to see more.

    @Roygee - Good news. I've done some detective work and I don't think Carrara is picking on you the way the replicator distribution map is picking on me. I was able to make the kind of shelf I think you are making and (1) recreate a problem similar to yours, AND (2) not have the problem. It will take two posts.

    First - I will show success. I made a shelf with one side of the legs flush, and then used fillet to bevel the edges. I used the vertex modeler, inserted a box, extruded one side, then used symmetry to create rectangles on the bottom to extrude the legs of the shelf. This created n-gons, so I added some vertexes on the top and sides and connected them to make everything quads. I then hit the fillet tool, and everything beveled nicely, in my opinion. see attached pics.

    I will illustrate a method that caused problems similar to yours in the next post.

    Bench_Quad_3_render.jpg
    640 x 480 - 9K
    Bench_Quad_2.JPG
    519 x 411 - 35K
    Bench_Quad_1.JPG
    606 x 432 - 36K
  • DiomedeDiomede Posts: 15,026
    edited April 2014

    OK - so here are illustrations in which I had problems similar to Roygee's. Carrara did some strange beveling in cases in which I left the n-gons, and in cases in which I connected the legs to the upper corners of the bench with triangles (no added vertexes).

    So I am glad to report to Roygee two things
    (1) what is happening to you can be replicated.
    (2) for this project, the problem was not difficult to avoid.

    After all the help you have given me, I am glad I was able to find a solution for this.

    Here is an example of a strange result when using fillet if the polygons have more than 4 vertexes (ngons).

    Bench_Ngon_2.JPG
    662 x 459 - 48K
    Bench_Ngon_1.JPG
    639 x 437 - 39K
    Post edited by Diomede on
  • DiomedeDiomede Posts: 15,026
    edited December 1969

    Today, I learned how to use the “boolean” tool in the vertex to modeler.
    I made to this jewel especially for you Ladies…

    Download file here: http://mhdproductions.be/Carrarators/Bijou.car

    Hey, we shouldn't let this great necklace get buried in a modeling thread. Thank you for making it available. I didn't realize we could attach Carrara files for download.

    One of you Genesis folks should adorn one of the ladies with Dudu's necklace and really show it off. The orchard worker that I made for the garden challenge doesn't do it justice. See attached. It could be rigged and poseable. It could be turned into a conforming figure. There are a lot of uses.

    Nice work, Dudu.

    dudu_necklace.jpg
    640 x 480 - 16K
  • evilproducerevilproducer Posts: 9,040
    edited December 1969

    diomede64 said:
    Today, I learned how to use the “boolean” tool in the vertex to modeler.
    I made to this jewel especially for you Ladies…

    Download file here: http://mhdproductions.be/Carrarators/Bijou.car

    Hey, we shouldn't let this great necklace get buried in a modeling thread. Thank you for making it available. I didn't realize we could attach Carrara files for download.

    One of you Genesis folks should adorn one of the ladies with Dudu's necklace and really show it off. The orchard worker that I made for the garden challenge doesn't do it justice. See attached. It could be rigged and poseable. It could be turned into a conforming figure. There are a lot of uses.

    Nice work, Dudu.

    Hi Diomede, you can't attach Carrara files in this forum. You can post links to them though. If you go to the Freepository forum at the Carrara Cafe you can upload zip files to share.

  • RoygeeRoygee Posts: 2,247
    edited December 1969

    Hi Diomede :) Thanks for taking an interest.

    There were definitely no N-gons in any of my efforts. OK the last was caused by me not noticing that the default was to extrude polys separately - so the problem was not non-manifold edges, but it was filleting around separate edges.

    The earlier efforts gave very different distortions and thinking back on it, I would say that was probably because the thickness of the shelf wasn't sufficient to do the job properly - probably some overlapping edges. What would probably have helped there would have been to make the shelves thicker, do the fillet, then scale down in the Z axis to get the right thickness.

    Anyway, I've learned a lot through this exercise and Carrara's VM is not as daunting as before - although still not my modeler of choice :)

  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    Roygee said:

    Anyway, I've learned a lot through this exercise and Carrara's VM is not as daunting as before - although still not my modeler of choice :)
    Have you messed around with modeling in the Assembly room yet? Carrara just keeps getting nicer and nicer as a modeler to me, the more I use it and get to know more of the tools, and just getting more experience in it. But I've been purposely doing so only in Carrara, because I'm wanting to do it all here - so I haven't any other fresh comparisons. I was actually planning on putting Hexagon to better use, but since the feel was so different, I didn't want to adopt the new style.
    Do you ever still use anim8or? What's your favorite?
    Just curious.
  • RoygeeRoygee Posts: 2,247
    edited April 2014

    Yes, I have - often! One of my most frustrating experiences, mainly because you can only work on one mesh at a time.

    The most obvious use is to make clothing or fix poke-through. In both cases, you need to select mesh that is buried in the body of the figure - sometimes you can select through the body, if the mesh is close enough to the surface, but most times you need to make the body invisible. To do that, you need to exit modelling, make the body invisible, go back to modelling mode, make the selection, make an estimate of how much to move it by, exit, make the body visible, back in....

    In Hex, you simply click to make the body invisible, do the selection, make it visible and carry on. You have to jump through all sorts of hoops to join two meshes - I forget the process, but it doesn't make for efficiency.

    Of course, I could be speaking from ignorance and there may be methods to do these things efficiently, but I haven't found them :)

    Anim8or is a great little app - that is where I started and it was a natural progression to Hex, they being very similar. Sadly, development seems to have stopped - it has some very advanced tools for something this simple. Best UV projection method I've come across, Carrara could learn a lot from it as far as rigging and weight-painting is concerned. It has the ability to put different textures on each side of a poly - something which you would need Fenric's plug-in to do in C.

    I haven't used it for ages, but I still have a soft spot for it and far prefer it to Carrara for modelling. I'd recommend it to anyone starting out in modelling to get a feel for the processes.

    Favorites? - obviously top of the list is Hex, then - slowly getting there - Blender. Nvil is a really advanced modelling app, and I played around with the free version while it was in Beta - the only stand-alone modeler in active development, as far as I know. If I had the $90 spare, I'd get it in a flash:)

    Somehow, I seem to prefer using specialist tools rather than jack-of-all-trades-master- of- none. I don't find it a hassle moving from one to the other - Hex for modelling, UU3D for UV mapping, Daz Studio for rigging and Carrara for texturing, animation and rendering.

    Don't know if you've noticed those sort of flying jet sled things I did for the challenge - they were done this way, including clothing, in a weekend :)

    Post edited by Roygee on
  • DiomedeDiomede Posts: 15,026
    edited December 1969

    Roygee said:
    Hi Diomede :) Thanks for taking an interest.

    @Roygee, I am very grateful to you for all the tips and tricks you have shared.

    Note - we have strayed from the original question in the thread. How can you add a triangle to the bottom part of a rectangle? Varsel gave the simplest solution, just use 5 clicks of the pen tool in the spline modeler. It is worth showing the simplest solution.

    spline_solution.JPG
    446 x 514 - 39K
  • RoygeeRoygee Posts: 2,247
    edited December 1969

    I agree KISS :)

  • DartanbeckDartanbeck Posts: 21,106
    edited December 1969

    Roygee said:
    I agree KISS :)
    Agreed.
Sign In or Register to comment.