Author Topic: 3d to 2d views engine  (Read 33800 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3d to 2d views engine
« Reply #75 on: January 30, 2008, 09:18:16 PM »

Great to see it coming along well again Mick !
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: 3d to 2d views engine
« Reply #76 on: January 30, 2008, 09:25:15 PM »

Great to see it coming along well again Mick !
Thanks Kerry, yes it is, I had to start from scratch but it's a lot better written this time (ie. safer and faster), things are 'clicking' fast so I better stay at it while the going's good :).

I will have a swag of 3d modeling tools coming out soon as well, stay tuned.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3d to 2d views engine
« Reply #77 on: January 30, 2008, 09:26:22 PM »
KOOL!
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

bikelink

  • Guest
Re: 3d to 2d views engine
« Reply #78 on: June 23, 2010, 11:06:12 AM »
I wrote a simple code that perform the projections of a solid in c#.
the result is very similar. the actual limit now it's understand what are the hidden lines.
i haven't time now to wrap the "Hlr Library" in c# but i think we can obtain a nice solution joining the c# and hrlapi

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: 3d to 2d views engine
« Reply #79 on: June 23, 2010, 06:44:46 PM »
I've written a little wrapper to get some functionality from the hlr api but ideally it would need a fully blown wrapper to get the most out of it, my wrapper is more focused on what I need rather that exposing all it's functionality.
I'll find the code and post it if anyone's interested.
Mick.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

bikelink

  • Guest
Re: 3d to 2d views engine
« Reply #80 on: June 24, 2010, 06:20:39 AM »
if You can post it we can  share it here and update it.  ;-)

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: 3d to 2d views engine
« Reply #81 on: June 24, 2010, 06:37:54 PM »
No prob's, I'll dig up the code and post when I get some spare time.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

bikelink

  • Guest
Re: 3d to 2d views engine
« Reply #82 on: June 29, 2010, 12:27:14 PM »
ok...while i'm waiting ...'cause  i'm eager to obtain my drawing
that's my result and i'm very happy...  I Wrote in c++ and then wrapped with a class in c#

Now I have a complete projections  (i can set colors, layers, lineid ecc..)   and of course.. my little lib ;)

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: 3d to 2d views engine
« Reply #83 on: June 29, 2010, 04:52:17 PM »
Nice work!
The tricky bit is the transformations to put the views where you want them. I'll have some time later today and I'll post my wrapper code, cheers.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

Jeff Benson

  • Guest
« Last Edit: October 04, 2012, 04:09:43 AM by Jeff Benson »