Skip to content

steptools/AdditiveNC

Repository files navigation

AdditiveNC

Make STEP-NC for Additive Manufacturing

This project parses additive manufacturing data described by a CLI file and creates a machining program as STEP-NC.

Each layer description is put into a separate workplan, the polyline and hatches are converted to toolpaths, and the speed and power parameters are mapped to the toolpath parameters. A fragment of CLI data is shown below.

$$POWER/175.0
$$SPEED/800.0
$$FOCUS/4.0
$$POLYLINE/1,2,6,298600,1400,298600,248600,51400,248600,51400,1400,298600,1400,298600,50840
$$POWER/310.0
$$SPEED/850.0
$$FOCUS/3.0
$$HATCHES/1,77,52000,84290,92957,100838,93438,99647,52000,82905,52000,81520,93919,98456,94400,97266,52000,80135,52000,78749,94881,96075,95363,94884,52000,77364,52000,75979,95844,93693,96325,92502,52000,74594,52000,73209,96806,91311,97287,90121,52000,71823,52000,70438,97768,88930,98249,87739,52000,69053,52000,67668,98730,86548,99212,85357,52000,66283,52000,64897,99693,84167,100174,82976,52000,63512,52000,62127,100655,81785,101136,80594,52000,60742,52000,59357,101617,79403,102098,78212,52000,57971,52000,56586,102579,77022,103061,75831,52000,55201,52000,53816,103542,74640,104023,73449,52000,52431,52000,51045,104504,72258,104985,71068,52000,49660,52000,48275,105466,69877,105947,68686,52000,46890,52000,45505,106428,67495,106909,66304,52000,44119,52000,42734,107391,65113,107872,63923,52000,41349,52000,39964,108353,62732,108834,61541,52000,38579,52000,37193,109315,60350,109796,59159,52000,35808,52000,34423,110277,57969,110758,56778,52000,33038,52000,31653,111240,55587,111721,54396,52000,30267,52000,28882,112202,53205,112683,52014,52000,27497,52000,26112,113164,50824,113645,49633,52000,24727,52000,23341,114126,48442,114607,47251,52000,21956,52000,20571,115089,46060,115570,44870,52000,19186,52000,17801,116051,43679,116532,42488,52000,16415,52000,15030,117013,41297,117494,40106,52000,13645,52000,12260,117975,38915,118456,37725,52000,10874,52000,9489,118938,36534,119419,35343,52000,8104,52000,6719,119900,34152,120381,32961,52000,5334,52000,3948,120862,31771,121343,30580,52000,2563,54034,2000,121824,29389,122305,28198,57463,2000,60891,2000,122787,27007,123268,25816,64320,2000,67748,2000,123749,24626,124230,23435,71177,2000,74605,2000,124711,22244,125192,21053,78034,2000,81462,2000,125673,19862,126154,18672,84891,2000,88319,2000,126635,17481,127117,16290,91748,2000,95176,2000,127598,15099,128079,13908,98605,2000,102033,2000,128560,12717,129041,11527,105462,2000,108890,2000,129522,10336

Screenshot

Building

This package is written in C# and contains a Visual Studio 2013 project file for building. You also need the STEP-NC Machine DLL to create the STEP-NC data. A downloadable version that is free for personal use can be found at:

STEP-NC Machine (which contains the STEP-NC DLL)

Extending

See CONTRIBUTING.md if you would like to send a pull request with your changes.

About

Make STEP-NC for Additive Manufacturing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages