Make "Compound" not close output path

dokluch's Avatar

dokluch

08 Feb, 2014 03:22 PM

Hello. I am making a project with sinewaves, and after I take difference with ellipse, the output result is a closed sine wave, which is not exactly what I want.

Do you know the way to alter this Compound node behavior, or somehow to remove the last point from each output path?
I attach the picture of how the sinewaves copies look prior to compound

  1. Support Staff 1 Posted by Stefan Gabriels on 10 Feb, 2014 01:05 PM

    Stefan Gabriels's Avatar

    In this case it might be better to use the delete node instead of a compound node.
    Connect the wavy lines to the shape port of a delete node and connect an ellipse node to the bounding port. Keep the scope to "points" and the operation as "delete non-selected".

  2. 2 Posted by dokluch on 10 Feb, 2014 09:26 PM

    dokluch's Avatar

    The problem is that wavy lines are created from a bunch of arcs and when I pass them to Delete node... well, the results are somewhat strange

  3. Support Staff 3 Posted by Stefan Gabriels on 10 Feb, 2014 10:43 PM

    Stefan Gabriels's Avatar

    I see. I did not realize you made your own wave function network. There is a wave node though that can be used to make sine waves. Anyway I took your sinewave output, put it in a group, and resampled the group before sending to the delete node.

    The thing is, if points scope is used, the delete node will remove all the points that are not inside the bounding shape, so it's important to have points very near the edges of the circle shape. This is why I used the resample node, since it generates a lot of points.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screenshot_2014-02-08_19.21.31.png 46.8 KB
  • Screenshot_2014-02-08_19.21.41.png 43.2 KB
  • Screenshot_2014-02-08_19.22.34.png 25.3 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

06 Sep, 2023 07:20 AM
05 Sep, 2023 08:40 PM
30 Aug, 2023 03:16 AM
19 Aug, 2023 03:22 AM
29 Jul, 2023 05:52 AM

 

28 Jul, 2023 10:53 PM
23 Jul, 2023 07:04 AM
14 Jul, 2023 03:05 AM
07 Jul, 2023 06:26 AM
05 Jul, 2023 11:44 PM
30 Jun, 2023 12:48 PM