Author Topic: CAD software wanted  (Read 500 times)

0 Members and 1 Guest are viewing this topic.

Offline alah

  • Contributor
  • Posts: 27
  • Country: ve
CAD software wanted
« on: October 07, 2019, 09:02:04 pm »
Hi everybody; I need some free simple software, only to draw pentagons and save the file with .dwg extesion. Suggestions, please.Thanks, Alberto.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3783
  • Country: au
Re: CAD software wanted
« Reply #1 on: October 07, 2019, 09:23:28 pm »
If you can live with DXF format, then there are lots of options. Any program that can read a dwg file can read a dxf file.

For DXF files, you can look at inkscape and librecad.

I was going to suggest qcad, but I see that they have now gone professional, and to get the DWG support, you need to pay 33 euros.

When you specify DWG format, you usually have to say which DWG format since the different versions are not backward compatible. For simple shapes, DWG R12 is basically readable by everything that can read DWG files.
 

Online ebclr

  • Super Contributor
  • ***
  • Posts: 1879
  • Country: 00
Re: CAD software wanted
« Reply #2 on: October 07, 2019, 10:19:26 pm »
 

Offline sokoloff

  • Super Contributor
  • ***
  • Posts: 1316
  • Country: us
Re: CAD software wanted
« Reply #3 on: October 07, 2019, 10:19:35 pm »
If you can use DXF, OpenSCAD (free) can do it.

Here's the code sample:
Code: [Select]
// Define the function
module regular_polygon(order = 4, r=1){
     angles=[ for (i = [0:order-1]) i*(360/order) ];
     coords=[ for (th=angles) [r*cos(th), r*sin(th)] ];
     polygon(coords);
}
 
// Draw one near the origin
regular_polygon(5, r = 10);
 
// Draw a larger one centered on [30, 0]
translate([30, 0, 0])
  regular_polygon(5, r = 15);

// Draw a smaller one centered on [30, 30]
translate([30, 30, 0])
  regular_polygon(5, r = 5);
 

That makes this DXF output:
pentagons.txt (rename it to pentagons.DXF) * pentagons.txt (1 kB - downloaded 6 times.)

Which is this preview:
pentagons.png
« Last Edit: October 08, 2019, 12:57:12 am by sokoloff »
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 3593
  • Country: fr
Re: CAD software wanted
« Reply #4 on: October 08, 2019, 12:12:41 am »
I second the use of OpenSCAD. Great stuff. I used it to design custom enclosures.
 

Offline alah

  • Contributor
  • Posts: 27
  • Country: ve
Re: CAD software wanted
« Reply #5 on: October 25, 2019, 03:38:35 pm »
Hi, the best I could do was with inkscape, but it draws the pentagon filled in black. I need to print concentric pentagons outlineson a single page, save as pdf, print to se which size suits my need, then convert to send to a shop to cut some pieces. Help, please and thanks to ALL.
 

Offline sokoloff

  • Super Contributor
  • ***
  • Posts: 1316
  • Country: us
Re: CAD software wanted
« Reply #6 on: October 26, 2019, 01:18:59 am »
Code: [Select]
module regular_polygon_outline(order = 4, r=1, t=0.1)
{
     angles  = [ for (i = [0:order-1]) i*(360/order) ];
     coords  = [ for (th=angles) [r*cos(th), r*sin(th)],
                 for (th=angles) [(r-t)*cos(th), (r-t)*sin(th)] ];
     paths = [[ for (i = [0:order-1]) i], [for (i = [1:order]) order*2 - i]];
     polygon(coords, paths, 10);
}

// Loop from 5 to 21 by 2
for (i = [5 : 2 : 21]) {
    // Draw a polygon of 5 sides, radius of 1, thickness of 0.1
    regular_polygon_outline(5, r = i, t = 0.1);
}

yields this preview:
* pentagons2.txt (5.44 kB - downloaded 0 times.)

And produces the attached dxf: (rename txt to dxf):
 

Offline sokoloff

  • Super Contributor
  • ***
  • Posts: 1316
  • Country: us
Re: CAD software wanted
« Reply #7 on: October 26, 2019, 01:19:54 am »
If you just need this one time and can't figure out the code, tell me what sizes you need and I'll generate a dxf for you matching those specs.
 

Online beanflying

  • Super Contributor
  • ***
  • Posts: 3910
  • Country: au
  • Toys so very many Toys.
Re: CAD software wanted
« Reply #8 on: October 26, 2019, 02:12:40 am »
Hi, the best I could do was with inkscape, but it draws the pentagon filled in black. I need to print concentric pentagons outlineson a single page, save as pdf, print to se which size suits my need, then convert to send to a shop to cut some pieces. Help, please and thanks to ALL.

In Inkscape you can control both the fill and stroke (outline). If you are sending it out to be Laser Cut then SVG format should be fine too as most software will handle that. I am not a fan of doing actual drawings in Inkscape as it is clunky compared to a CAD package.

If you want something to grow into for more complex designs later then Fusion 360 for most smaller users remains free. I actually run my exported nested materials from Fusion 360 through Inkscape to tweak the cut layout (reduce spacing and rotate parts) and line colours before sending the sheets to my Laser for cutting or engraving.

« Last Edit: October 26, 2019, 02:14:38 am by beanflying »
Coffee, Food, R/C and electronics nerd in no particular order :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf