584,846 active members*
3,851 visitors online*
Register for free
Login
IndustryArena Forum > CAD Software > Uncategorised CAD Discussion > Complex shapes for CNC. Can this be done in polygonal meshes?
Page 1 of 2 12
Results 1 to 20 of 34
  1. #1
    Join Date
    Aug 2013
    Posts
    17

    Complex shapes for CNC. Can this be done in polygonal meshes?

    I am getting into 3D modeling for scale models for Architecture. I am a 3D artist traditionally modeling in polygon meshes with little experience with Nurbs. I read that some cnc software accepts stl meshes. How common is this? I worked on a job recently where they could not use the mesh for CNC. I did not get a reason. I understand the meshes need to high poly counts to remove any unwanted faceting without any smoothing. Do I need to try to learn nurbs modeling or is my client not using a good CNC company?

    The work I am doing is usually high concepts of organic shaped buildings. Very sculptural.

    Thanks!

  2. #2
    Join Date
    Sep 2012
    Posts
    1195
    Working in solids is easier to deal with than working in meshes, at least that's my experience. Both can be used, it just depends a bit on what software the CNC operator/programmer has available. I would recommend learning how to work with nurbs based software anyways, as it will only build on the skills you have. Not really a down-side to that.

    I don't work in STL format often and haven't for years, but I think you could also bring your meshes into Rhino and create a solid from them, which could then be exported as a nurbs file.

  3. #3
    Join Date
    Mar 2003
    Posts
    35538
    There are several 3D CAM packages that are inexpensive, easy to use, and deal exclusively with mesh models. MeshCAM and DeskProto are two very popular ones.

    The main benefit of using solid models is that higher end CAM packages can detect features of the models, and use more efficient toolpath strategies. Most mesh CAM programs only use a rater toolpath strategy, which can take a long time to produce smooth surface with out toolmarks, as they need to make many passes with a small stepover.

    I would think that for organic type models, most of the advantages for solid models do not apply. I'd look for another company for your parts.

    Any pics of what type of parts your talking about? Without seeing exactly what you're trying to do, it's hard to give an accurate answer.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Aug 2013
    Posts
    17
    ...

  5. #5
    Join Date
    Aug 2013
    Posts
    17
    Thanks it is good to know its possible. See here for what I typically work on.
    This is the rough mesh I started with (based off a laser scan) and retopo'd it to be water tight so the mesh is not messy. I am usually 3D printing scale models of buildings for a client but I have been asked about CNC. Would this be doable?

  6. #6
    Join Date
    Sep 2012
    Posts
    1195
    The biggest issue is simply the CAM software. This is the software that takes your model and generates a toolpath the machine can cut to produce the part. It would be possible provided that the person you use for CNC has CAM software that reads STL files. Most do, but I'm sure some don't. In some CAM software, I think you have to draw a surface beneath the mesh in order for that software to recognize it as a surface that can be machined (not everyone knows that trick). In others, it would automatically be recognized as a machinable surface. So the answer is yes, you can machine it and should be able to expect to machine it, but it will always come down to who you are working with, what CAM software they are using, and how well they know and understand their CAM software which generates the tool path. There is nothing about your product that is too difficult to produce, it's a matter of finding the right person with the right software to cut the parts.

    The same is true of other file types, such as Rhino (.3dm) or ACIS (.SAT). Not every CAM package will import these formats, even though they are commonly used. Even if they do import them, they often are imported poorly because they aren't translated well (I notice this problem with .SAT files and version 4 or newer .3dm files in Bobcad-CAM). Other commonly used formats would be .3ds, DXF, DWG, and IGES. My personal preference is typically .IGES if I don't know what software is generating the file since I've found .IGES files to be less of a problem during translation and they almost always import correctly. But that is just what works best with Bobcad-CAM, which is what I own, so if someone else owns software that won't import and .IGES file, then they obviously won't like that format. I could also cut your file directly from an STL with Bobcad-CAM, if you were local.

    If you would like to see what a tool path looks like and how a mesh is translated into a tool path, feel free to post a small sample section of your mesh and I'll run it through my CAM software to show you what has to happen to cut it out.

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    Not every CAM package will import these formats, even though they are commonly used. Even if they do import them, they often are imported poorly because they aren't translated well
    MeshCAM is $250, incredibly easy to use, and would work fine for those types of parts. Just load the model, pick your tool and stepover amount, and click a button. Depending on the polygon count, tool size, and PC power, you'll see a toolpath in anywhere from 10 seconds to 10 minutes. Typically less than a minute with a modern PC. The only issue may be if the parts are large. Since .stl files are made up of triangles, large models can eat up huge amounts of memory.
    As for import quality, the .stl format is much simpler than many others, and I wouldn't expect to see any issues with using them.

    On issue with a model like that is the level of detail. To get that much detail, you may need to use a pretty small tool to get the detail you want. The smaller the tool, the longer it'll take to cut. The longer it takes to cut, the more it will cost.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  8. #8
    Join Date
    Sep 2012
    Posts
    1195
    Just to clarify, I was speaking specifically about ACIS and Rhino files in terms of compatibility. I agree that STL files almost always open fine in software that can read them, and when they don't it is usually because the file was not well crafted.

    I've worked with meshes that cover an entire 1200x1200mm surface with high levels of detail which were generated from point clouds. When they get that big, the processing time to generate a tool path with a .5mm step over is 4 hours or so (plus or minus 2 or 3 hours ), and I have a very fast computer. Like Gerry says, the file sizes get huge. Once you have a tool path, the maximum speed you can cut something 3d like that is typically around 3500mm/min. My machine will rapid at 20,000mm/min and cut at up to 15,000mm/min, but 3500mm/min is the fastest it can do these jobs. Any faster and I start getting concerned about the wear and tear on the machine (it will go faster, but it sure starts to sound very bad for the machine). With that in mind, in one hour you can only cut about 75mm wide, making the total run time fall around 16 hours for a 1200mm x 1200mm part. If you can live with half the detail (double the step-over) you can do it in 8 hours of cutting and the tool path generation takes closer to 1 hour (not sure why it's 4 times longer for double the resolution, but it just has been for me).

    As Gerry points out, the more detail you want, the more it would cost and I'm sure you can see that from the run times listed above. I'm not sure what the average rate is where you are located, but I charge upwards of $100/hr depending on the job for machining time and $50/hr for setup time (programming, fixtures, bits, etc.), so a job like the one I described would be between $1000 and $2000.

    Lately, I've been testing lots of different meshes which are being generated from point clouds and the end products are in that 1200x1200x120mm size, often needing multiple panels assembled together into larger end products. Many of the programs are made up of 10's of millions of lines of code, and that only covers portions of the total job. So far, machining the point clouds directly is working out better than the meshes and the slight missing offset for the tool size is not a factor for these parts. Large meshes are just really, really hard to work with, but the same is true of large surfaces with similar detail levels.

  9. #9
    Join Date
    Aug 2013
    Posts
    17
    Thanks all good to know. I did not realize you can machine pointclouds directly if needed. I may send a sample mesh that I generated so you can let me know if it is usable.

  10. #10
    Join Date
    Sep 2012
    Posts
    1195
    You can machine point clouds directly, but through further experimenting over the last couple weeks I've found a way to get a mesh that is machining just as well as the point cloud, but with the advantage of an offset for the tool geometry. It sounds like you have an STL to start with, so you probably don't really need to convert form point clouds. However, if you do need a mesh from a point cloud, the best meshes I've been able to produce are done with software called Cloud Compare, which is a freeware/shareware program. It will open a point cloud, then generate a mesh from it by connecting the dots directly into triangles from point to point, so no smoothing or noise reduction which usually results in lost detail. You can then export the mesh as an STL which can be machined.

    While Bobcad, which is what I usually use, will open an STL and generate a tool path from it, I've found that the software Gerry recommended (Meshcam) is much faster at generating the type of toolpath you're looking for from a mesh since it is able to use more of the computers resources due to it's software architecture. I would also recommend Meshcam after doing quite a lot of direct comparisons for any mesh related work. Also, I find that if you save the files as a Binary STL, it's generally more compatible with most CAM software, where ASCII files are less supported (though Meshcam works with both). The Binary STLs are also smaller in file size (about 1/4 the size), so easier to handle through downloads or emails. As a matter of best practices, I'd stick to sending STLs in Binary format when working with CNC providers.

    Feel free to post a mesh and I'll show you a tool path from it.

  11. #11
    Join Date
    Aug 2013
    Posts
    17
    Thanks. If you want to check out the mesh here a 1/4 of the model.
    Facade_Binary.zip (138.0 MB)
    https://mega.co.nz/#!Ik5AVISY!GZIc1U...__v5NvzaO_8AX4

  12. #12
    Join Date
    Sep 2012
    Posts
    1195
    I tried downloading the file, but for whatever reason it just won't let me do it. I don't think the site is bad, but it behaves in a sketchy way that makes me nervous about letting it do everything it seems to be trying to do. Not sure why it won't just let me use the downloader in my browser and I'm always nervous about sites that don't.

  13. #13
    Join Date
    Aug 2013
    Posts
    17
    Its my first time using this site. As far as I know the website is legit. I will send a different link when I am back on my computer.

  14. #14
    Join Date
    Aug 2013
    Posts
    17
    Try this instead. http://we.tl/WPRDwo5vfx
    The link will delete after 7 days automatically

  15. #15
    Join Date
    Sep 2012
    Posts
    1195
    Here's a quick image showing some toolpaths on a small portion of your file. Just to speed up the process, I cropped out a small section of the mesh and ran a Planar Slice toolpath on it. This was done in Bobcad V24, but if I were hired to do this job I'd probably just buy Meshcam, which performs quite a lot faster. I'll probably be buying Meshcam just for these kinds of jobs at the end of the year (budget is always tight until then!). Also, keen eyes with knowledge of toolpaths might notice that the offset from the surface is larger than the tool radius. I did this just to make the toolpath a little more clear by leaving an allowance.


  16. #16
    Join Date
    Sep 2012
    Posts
    1195
    I'm curious if this file originated from a point cloud? If so, what is your preferred software for meshing the point cloud?

  17. #17
    Join Date
    Oct 2008
    Posts
    2100
    CamBam works very esily with STL files.
    Bob La Londe
    http://www.YumaBassMan.com

  18. #18
    Join Date
    Dec 2008
    Posts
    4548
    Funny thing about toolpath strategies and the underlying code that creates them. Some work with the actual defined data included in the file. Some use a "trick" and use what's called the "display mesh". That's the model your video card creates from the model data to display on the screen. One is short and sweet. One is a more complex calculation.

  19. #19
    Join Date
    Dec 2008
    Posts
    4548
    Quote Originally Posted by mmoe View Post
    This was done in Bobcad V24, but if I were hired to do this job
    There are settings you can make that will make the toolpath calc "a flash"..................fyi.

  20. #20
    Join Date
    Sep 2012
    Posts
    1195
    Cambam is a good piece of software and I don't want to give the impression that I think poorly of it, but you are underestimating the difficulty of handling the files we're talking about. CamBam will work with STLs, but the problem with STLs is that they do get very large when you're dealing with surface scans. If you're the typical home machinist, you'll be dealing with STLs that were modeled from software that are perhaps betwen 2 and 30mb. A big one might get to 100mb, and that would be a very fine mesh as well (most people don't even know how to tighten up the mesh, so they never get very large). For that, CamBam is a well featured program that works with those files for a good price. CamBam, from my experimentation, does not have the horsepower to open a 300mb STL mesh. I can provide you with a topographical mesh of that size if you want to try it, but what you'll get is "Cambam is thinking" followed by a memory error.

    Bobcad V24 can barely open STLs in the 300mb range, but even then it's a bit hit or miss which is why I cropped it down to a much smaller portion of the mesh. For a 100-500mb STL, Bobcad tends to crash opening it about half the time (V25 will do better due to 64 bit memory access). Even if you manage to get it open in Bobcad, don't even think about rotating it or applying a transformation. It will crash again about 50% of the time. Basically, you have to get them mesh properly oriented before you bring it into Bobcad so that you can skip right to toolpaths, which will then take up to 20 hours to calculate a Planar Slice.

    The OP's sample was 328mb, which is really a very modest file size for a scan. I generated a high resolution STL of the island of Oahu based on USGS DEMs which is closer to 4gb in Binary format (ASCII would be larger still, possibly 24gb or so). A thinned version, where 1/4 of the data is dropped, is still around 1gb. Meshcam is the only CAM software I've been able to open a file like that with (at least for under $5000), and the main reason for this is that it was designed to use multicore, hyperthreading and 64bit technology from the ground up, along with the fact that I've got a pretty above average computer. It will run with 100% of 8 cores while using 99% of the available 16gb of RAM to generate toolpaths. It still takes about 4 to 6 hours for one toolpath with tolerances set to very moderate levels.

Page 1 of 2 12

Similar Threads

  1. polygonal hex turning on puma 240 ms
    By tgjeep in forum Daewoo/Doosan
    Replies: 1
    Last Post: 05-11-2013, 12:32 PM
  2. Newb question -Why use meshes? confused
    By Rich05 in forum Rhino 3D
    Replies: 4
    Last Post: 02-03-2009, 02:39 AM
  3. Polygonal turning
    By sting007 in forum Daewoo/Doosan
    Replies: 1
    Last Post: 09-11-2008, 07:29 PM
  4. Replies: 1
    Last Post: 05-12-2007, 06:49 PM
  5. Polygonal Turning
    By ve2lva in forum Daewoo/Doosan
    Replies: 24
    Last Post: 10-20-2006, 10:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •