Parametric Programming - Math - Ceiling Function

Here is where you can request new features or special features.

Re: Parametric Programming - Math - Ceiling Function

Postby cncdrive » Fri Dec 03, 2021 8:30 pm

The floor and ceiling was really missing from the functions, I've added both now, it will be in the next release.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Re: Parametric Programming - Math - Ceiling Function

Postby cseyler » Mon Dec 27, 2021 10:06 pm

Maybe it is not clear for everyone :

The macro system is based on a runtime compilation for C# code. During the compilation UCCNC has to specific which namespaces it uses for compilation (same as using xxxxxx in your C# code).

But you can still use all .NET components (.Net Framwork 4) by typing the entire namespace

so, you can use the ceiling function by typing

Code: Select all

System.Math.Ceiling(value);

cseyler
 
Posts: 71
Joined: Tue May 25, 2021 11:27 am

Re: Parametric Programming - Math - Ceiling Function

Postby cncdrive » Tue Dec 28, 2021 2:52 pm

Yes, that is correct, but the request was not for macroing, but for parametering programming.
Parametric programming is not compiled by the .net compiler, but is interpreted by the UCCNC itself from g-code.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Previous

Return to Feature Request

Who is online

Users browsing this forum: No registered users and 8 guests