Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Pages: 1 [2] 3 4

Author Topic: Initial CAD-style feature  (Read 105618 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Initial CAD-style feature
« Reply #15 on: September 07, 2014, 03:31:57 pm »

Unobtainium: Good ideas. I'm already planning on a surface area metric in the properties dialog. Selected surface area is essentially the same. Volume is a great idea that goes along with 3D printing.

I've made some attempts at boolean operators before but never had time to finish. They are challenging to do well - floating point numeric inaccuracies present a variety of problems with thing like almost parallel faces - but I agree that they would be a good addition to Anim8or.
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: Initial CAD-style feature
« Reply #16 on: September 24, 2014, 01:35:11 pm »

The Boolean Scripts developed on this forum are pretty good.
Theres a few limitations I wish they didnt have, like, not being able to cut a hole in a floor because a level mesh is considered an open body...

On basic elements like 2 cylinders converted imediatly to mesh and then Operated on it works great.

On complex mesh's they start to falter and complain of convex faces etc.

I commented in the development thread but it seems to have been burried so Ill re-comment here.
I Like the ideas produced on the previous page except for the cluttered comment.
The ideas of surface/tri area and object volume are excelent.

I still suggest having every line draw its legnth and angle to previose point when using the line tool (Object Mode) or on selection of a 'line' in Vertex Edit Mode.

I dont think that this could be considered 'cluttered'

I just quickly painted a mock-up (lacking rotated text and drop shadows etc) of both examples.

Trev
Logged

Unobtainium

  • Newbie
  • *
  • Posts: 22
  • Engineer dabbling in various technical arts
    • View Profile
Re: Initial CAD-style feature
« Reply #17 on: September 24, 2014, 04:32:08 pm »

I like the suggestion of showing line lengths & angles. The boolean scripts are nice to have by the way, albeit slow at times (no way around that with ASL I guess) and yeah, on more complex meshes problems tend to occur.

Personally I don't think the interface looks very cluttered in image you attached, however with a denser set of lines... I don't know. Perhaps, as said earlier, a CAD mode button is an ok solution to fit everyone's needs? (Just thinking "out loud" here.)
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Initial CAD-style feature
« Reply #18 on: September 24, 2014, 10:49:17 pm »

Trevor I 100% agree!
I think that mockup is exactly how it should be layed out (with the idea from unobtainium of having a cad mode button).
Logged
¼

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: Initial CAD-style feature
« Reply #19 on: September 25, 2014, 07:15:17 pm »

Yes, so when Steve applies rotation and drop shadows to text it will look sooo much better.

I was trying to think of an architecturial subject item that would be more complex but forgot that text is considered a 'line' and so that would be thousands of little straight lines.

If im not mistaken though, text uses 'Smooth Line' which I deliberatly left out of the CAD Measuring system for this reason.

As soon as this is implemented though I can start modeling rooms and buildings with confidence by Y-Extrusion.

Trev
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Initial CAD-style feature
« Reply #20 on: September 28, 2014, 05:53:07 pm »

If im not mistaken though, text uses 'Smooth Line' which I deliberatly left out of the CAD Measuring system for this reason.
What do you mean text uses smooth line?
Logged
¼

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: Initial CAD-style feature
« Reply #21 on: September 29, 2014, 01:25:23 pm »

If you look at my image above, the left window uses the 'Line' Tool (Pressed) the button next to it (little squiggle) is 'Smooth Line'

Actually... I just found the tooltip button again and they are called
Straight Path and Curved Path.

Trev
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Initial CAD-style feature
« Reply #22 on: September 30, 2014, 08:31:08 pm »

Actually... I just found the tooltip button again and they are called
Straight Path and Curved Path.
Okay that makes more sense because smooth line usually refers to AA (anti-aliasing).
But you say that text is made out of lines.
but forgot that text is considered a 'line' and so that would be thousands of little straight lines.
Which I am sure isn't true. I wouldn't even say Steve is rastering it to the screen. It look's like the majority of text (in the Opengl viewport) is being blit straight to the framebuffer itself (woo! old school).

ALSO (just to be clear)
I think this feature should have it's own button (the CAD button) which would enable the ability to edit paths based mathematics and with an overlay.
Just that way you can separate the simpler modeling tools from the CAD ones to make the UI more organized.
« Last Edit: September 30, 2014, 08:45:05 pm by cooldude234 »
Logged
¼

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Initial CAD-style feature
« Reply #23 on: September 30, 2014, 09:27:54 pm »

You're correct, cooldude234. Text in Anim8or is raster not vector. Vectors can look fairly ugly, especially when small. Plus OpenGL drivers have a lot of latitude in how the draw lines so it's hard to make vector text good looking on all graphics chips.
Logged

Trevor

  • Full Member
  • ***
  • Posts: 220
  • Goldfinger64 Dev OS:10 CPU:5960x Gfx:RX480
    • View Profile
    • LS Tech Services
Re: Initial CAD-style feature
« Reply #24 on: October 01, 2014, 08:38:10 am »

hmm... if text if raster then for do you do the modeling commands to it like fill and extrude, or even lathe if you want :P.

This is why I assumed it was a curved path, because it uses the same tools.

Trev

As for Seperate CAD button, it is already. the rullers dont show up unless you enable CAD mode.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Initial CAD-style feature
« Reply #25 on: October 02, 2014, 05:33:52 pm »

Trevor and Unobtainium: Check out the CAD line lengths in Spline and Add Edge modes in Build 1112. To keep the clutter down I only show the lengths of selected segments.
Logged

Unobtainium

  • Newbie
  • *
  • Posts: 22
  • Engineer dabbling in various technical arts
    • View Profile
Re: Initial CAD-style feature
« Reply #26 on: October 04, 2014, 07:09:59 am »

Good work. There seems to be a tiny bug: Sometimes when selecting splines/edges, two lengths are shown as if another spline/edge is selected as well. The "ghost" selection seems to depend on which previous spline/edge was selected.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Initial CAD-style feature
« Reply #27 on: October 04, 2014, 03:55:32 pm »

If you can send me an example or a screen capture that would help.

It's tricky to show the right balance of information on the screen. For splines, I'm showing the length of all selected segments and the coordinates of selected knots that are not next to a selected segment.

One thing I did to reduce the clutter is to deselect all the previously selected segments and knots when you add a new segment. It can be useful to keep them selected, though, and I can see how it could be useful to keep them selected. Any feedback is appreciated.
Logged

Unobtainium

  • Newbie
  • *
  • Posts: 22
  • Engineer dabbling in various technical arts
    • View Profile
Re: Initial CAD-style feature
« Reply #28 on: October 04, 2014, 06:38:46 pm »

I meant to say it happens when one spline/edge is selected at a time - if one segment is mouse pressed by me, it's length shows at that segment as expected, but then another segment's length also shows at that unselected segment, be it spline or edge. (This is what happens some times. A pattern has so far eluded me though I think there may be one.)

When selecting several splines/edges at a time things work fine. Deselection of previously selected segments & knots when adding a new one works fine, display of knot coordinates works fine.

I will throw together a picture with several screen captures to show how the unselected segment length jumps between segments when I click around on splines/edges.

EDIT: Picture is attached along with system specs.
« Last Edit: October 05, 2014, 04:47:20 am by Unobtainium »
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Initial CAD-style feature
« Reply #29 on: October 05, 2014, 10:49:23 pm »

To keep the clutter down I only show the lengths of selected segments.
I think this kinda defeats the purpose a bit. I noticed that it wasn't too cluttered with the line segment lengths being shown on both high res monitors and low res monitors (as I show in the attached image). I think most of the clutter comes from the 'ruler' and when you select an object (especially when you have bounding boxes enabled).
Personally when I am wanting to know the lengths of things, I want to know the lengths of everything else so I can compare them even while editing them. I also noticed that even if they are selected if you select another tool that isn't the line or spline tool (eg the selection tool) it will not show the lengths.

Another thing, why can't I edit the lengths by typing in the numbers manually. I know of a couple pieces of cad software that allowed you to do this by typing in the numbers down at the bottom where it displayed it's lengths (where anim8or displays positions and tool effect info).
And another thing :P when I press the alt key it enables and disables the camera movement. I was trying to alt print screen to capture just the window and ended up capturing the giant green circle as well :| maybe I should call over the golly green giant and have him play hula hoop for a while.

But thank you for listening to all our complaints and doing something about them because most developers suck when it comes to that :P
« Last Edit: October 05, 2014, 10:50:01 pm by cooldude234 »
Logged
¼
Pages: 1 [2] 3 4