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

29 May, 2024 05:47 AM
29 May, 2024 05:15 AM
29 May, 2024 05:12 AM
28 May, 2024 07:37 PM
25 May, 2024 11:52 AM

 

24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
14 May, 2024 01:29 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM