Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Add gaps along a parametric curve

Please login with a confirmed email address before reporting spam

Hi folks, we have an parametric curve with the follow settings:

Parameter: Name: Minimum: Maximum:

Expressions: xw: yw:

The curve is sweeped with an rectangle 1x4mm width/height to build a flat spiral and is divided into two work planes parametric curve/rectangle.

Now we would like to add a 1mm gap every 15mm along the entire parametric curve, and if possible also keep the shape/size.

We hope someone here can help us..


2 Replies Last Post Feb 18, 2024, 2:11 p.m. EST
Acculution ApS Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 months ago Feb 18, 2024, 2:28 a.m. EST

Maybe multiply with some if-statement? xwif("(s>q)(s<q)",0,1), with q somehow representing the gabs?

-------------------
René Christensen, PhD
Acculution ApS
www.acculution.com
info@acculution.com
Maybe multiply with some if-statement? xw*if("(s>q)*(s

Please login with a confirmed email address before reporting spam

Posted: 9 months ago Feb 18, 2024, 2:11 p.m. EST

How and where do I set the additional q parameter?

And where do I insert the if-statement with the formula?

We are completely new to COMSOL so step by step would be nice.

How and where do I set the additional q parameter? And where do I insert the if-statement with the formula? We are completely new to COMSOL so step by step would be nice.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.