  | 
  | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Hi, folks !
While working on Gems factory:
https://github.com/syanenko/povgems
and Gems viewer:
https://gemview.povlab.online/demo.html
I was need a tool to convert geometry data (DXF), produced by:
https://www.gemcad.com
to SDL 'on the fly' under Ubuntu.
I've put it to repository for those, who will need it:
https://github.com/syanenko/dxf2pov
Happy poving :)
-- 
YB.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
Il 12/05/2024 21:39, yesbird ha scritto:
> Hi, folks !
> 
> While working on Gems factory:
> https://github.com/syanenko/povgems
> and Gems viewer:
> https://gemview.povlab.online/demo.html
> 
> I was need a tool to convert geometry data (DXF), produced by:
> https://www.gemcad.com
> to SDL 'on the fly' under Ubuntu.
> 
> I've put it to repository for those, who will need it:
> https://github.com/syanenko/dxf2pov
> 
> Happy poving :)
A _brilliant_ work, indeed!
And - btw - Gems viewer site is well done.
Thank you,
    Paolo
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 28/05/2024 23:09, Paolo Gibellini wrote:
> A _brilliant_ work, indeed!
Hi, Paolo.
I'm glad that you found it useful.
Always welcome :)
--
YB
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 12.05.2024 22:39, yesbird wrote:
> While working on Gems factory:
> https://github.com/syanenko/povgems
Hmm, I missed that one before. I'm just trying to turn my old POVMosaic 
into something reasonably structured (already compressed most of them in 
two programs, most of others will be cancelled) with human-editable POV 
output. So far it seems like your gem shapes are rather plugguble into 
it as mosaic elements. Not going to copy your files, but, assuming I 
will be strong enough with the Force to build a preview webpage for my 
stuff to replace the old messy one, I'll definitely add a link. It would 
be against my creed to leave good stuff unborrowed :-)
-- 
Ilyich the Toad
https://dnyarri.github.io/
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 05/06/2024 08:38, Ilya Razmanov wrote:
> So far it seems like your gem shapes are rather plugguble into 
> it as mosaic elements
Really interesting ! I've seen your mosaic works and like an idea to
play with orientation of elements. May be now it's a time to play with
geometry and materials also ?
>  Not going to copy your files ...
Why not ? You are welcome :)
> It would be against my creed to leave good stuff unborrowed :-)
Thanks, I've note it ).
--
YB.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 05.06.2024 23:11, yesbird wrote:
> Really interesting ! I've seen your mosaic works and like an idea to
> play with orientation of elements.
If you wish, you may take a look at "develop" branch at
https://github.com/Dnyarri/POVmosaic
Well be merged to "main" as soon (or as long?) as I finish writing more 
or less useful preview page for a site.
> May be now it's a time to play with
> geometry and materials also ?
Can't resist - attached is an example of one of presets. Main idea of 
this general rewrite is condensing most of controls I put at the first 
time here and there into compact set of #define, supposedly easy to 
understand (yeah, help file is still a bit smaller than a program 
itself! great achievement for me!) and definitely easier to edit, 
including the possibility to just link some preset.inc (the one for 
attached image includes, beside dice thingie rotate instructions, dice 
CSG itself) written in some more or less standard form.
There are also some predefined finishes and normals (the latter may be 
modified on a per thingie basis to avoid getting perfect Empire clones).
Surely, predefined finishes are basic, but it may be changed.
I didn't try to use fully blown texture template since it will make 
things overly complicated, but one can change my simple Python programs 
any way he/she want.
>>  Not going to copy your files ...
> Why not ? You are welcome :)
But it will make your part of the whole pack bigger than mine, rising 
questions who is actual author here :-)
-- 
Ilyich the Toad
https://dnyarri.github.io/
 
 Post a reply to this message 
 
Attachments: 
Download '4pre2.png' (199 KB)
 
  
Preview of image '4pre2.png'
   
   
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 06/06/2024 08:34, Ilya Razmanov wrote:
> On 05.06.2024 23:11, yesbird wrote:
> 
> If you wish, you may take a look at "develop" branch at
> https://github.com/Dnyarri/POVmosaic
> Well be merged to "main" as soon (or as long?) as I finish writing more 
> or less useful preview page for a site.
Yes, it looks promising, I like an idea in general and examples you
provided in particular. Using dices is a very good finding !
> But it will make your part of the whole pack bigger than mine, rising 
> questions who is actual author here :-)
Nevermind - you can use it as you want. If this question is really
important for you - just rename variables and change the logic a little
and you will have your own code :).
Good luck,
--
YB.
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 12.05.2024 22:39, yesbird wrote:
> I've put it to repository for those, who will need it:
> https://github.com/syanenko/dxf2pov
Speaking of DXF - I'm completely unable to find any official info on DXF 
coordinate system handidness. It seems like you just ignore it. Do you 
know some secret truth hidden from me, or simply exploit the symmetry of 
jewels?
-- 
Ilyich the Toad
https://dnyarri.github.io/
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 24/08/2024 14:59, Ilya Razmanov wrote:
> Speaking of DXF - I'm completely unable to find any official info on DXF 
> coordinate system handidness. It seems like you just ignore it. Do you 
> know some secret truth hidden from me, or simply exploit the symmetry of 
> jewels?
I am not sure that understand you well, but I was following this 
document while writing the code:
https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
--
YB
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
On 25.08.2024 1:33, yesbird wrote:
> I am not sure that understand you well, but I was following this 
> document while writing the code:
> https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
Oh, sorry, I just found it in ECS, it's right-hand. I'm using this 
description you suggested, but, comparing to, say, OBJ, DXF is hardly 
the most clean and logical format ;-)
Just wanted to add DXF export to my img2mesh. Considering stl and obj 
exports already added in previous version, this will fully cover all the 
non-POV formats I ever encountered.
-- 
Ilyich the Toad
https://dnyarri.github.io/
 
 Post a reply to this message 
 | 
  | 
 |   | 
 |   | 
 | 
  | 
 | 
  | 
 |   |