Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
DXF to Graphics
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: DXF to Graphics (Read 2428 times)
0 Members and 1 Guest are viewing this topic.
Draftek
Guest
DXF to Graphics
«
on:
May 01, 2009, 09:03:45 AM »
I'm extracting dxf text from a sql server database which basically contains some closed 2d polylines.
I need to build some kind of .Net graphics control for the user to view.
Any suggestions regarding the mapping and / or the output graphics?
Starting from the ground up on this one.
Logged
It's Alive!
Retired
Needs a day job
Posts: 8728
AKA Daniel
WWW
Re: DXF to Graphics
«
Reply #1 on:
May 01, 2009, 09:19:57 AM »
Maybe this thread will give you an idea or two
http://www.theswamp.org/index.php?topic=20620.0
Logged
https://github.com/CEXT-Dan/PyRx
https://pyarx.blogspot.com/
Draftek
Guest
Re: DXF to Graphics
«
Reply #2 on:
May 01, 2009, 09:32:22 AM »
Nice - thanks. That will help.
I'm also looking at some dynamic xaml.
Creating a mapping tool to create a canvas from the dxf and then making it the content of a user control.
Either way, should be fun.
Logged
Draftek
Guest
Re: DXF to Graphics
«
Reply #3 on:
May 08, 2009, 09:59:01 AM »
Decided to map the dxf directly to a xaml canvas with path.
Pretty nice since the only calculation will be 'normalizing' all the points so x & Y are positive and calculating the bludges to a radius for the arcs.
Not as much work as I anticipated.
Logged
It's Alive!
Retired
Needs a day job
Posts: 8728
AKA Daniel
WWW
Re: DXF to Graphics
«
Reply #4 on:
May 08, 2009, 10:09:20 AM »
Pic please
Logged
https://github.com/CEXT-Dan/PyRx
https://pyarx.blogspot.com/
Draftek
Guest
Re: DXF to Graphics
«
Reply #5 on:
May 08, 2009, 10:24:02 AM »
Here it is:
Logged
It's Alive!
Retired
Needs a day job
Posts: 8728
AKA Daniel
WWW
Re: DXF to Graphics
«
Reply #6 on:
May 08, 2009, 10:45:52 AM »
Fantastic!
Logged
https://github.com/CEXT-Dan/PyRx
https://pyarx.blogspot.com/
Draftek
Guest
Re: DXF to Graphics
«
Reply #7 on:
May 08, 2009, 10:53:18 AM »
Thanks - it's the perfect little project.
Not too hard to code but looks like magic to the user.
Logged
Spike Wilbury
Guest
Re: DXF to Graphics
«
Reply #8 on:
May 08, 2009, 11:34:17 AM »
...
http://www.codeproject.com/KB/library/cadlib.aspx?fid=13897&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=51
«
Last Edit: May 08, 2009, 11:38:43 AM by Luis
»
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
DXF to Graphics