Modeller Region

Modeller Region - Introduction of Modeller Region with how to use step-by-step instruction - Messages

#41 Posted: 11/3/2018 10:28:11 AM
Martin_B

Martin_B

21 likes in 84 posts.

Group: User

Hi!

At the moment I cannot drag any object from the template pane to the modeller region.
I am using 0.99 (6839)
But you can test it easily by opening the example in the first post online. There it doesn't work, too.
Also the tooltip by hovering the any template objects appears only rarely.

Editing already exiting objects works fine.

kind regards,
Martin
#42 Posted: 11/4/2018 1:40:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

At the moment I cannot drag any object from the template pane to the modeller region.



From the 5 years ago # post, it looks like Modeller was left in limbo.
6179 has no object in the template pane... just a dead cumbersome
region of no use for real projects.

ModellerLimbo.PNG
#43 Posted: 11/4/2018 3:44:19 PM
Martin_B

Martin_B

21 likes in 84 posts.

Group: User

Wrote


I am using 0.99 (6839)
But you can test it easily by opening the example in the first post online.


Or offline:
modeller.PNG
#44 Posted: 11/4/2018 10:27:36 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I am using 0.99 (6839)



I can reproduce Martin example [some comments added]

ModellerMartin.PNG
#45 Posted: 11/18/2018 3:53:18 PM
Dominik Skrycki

Dominik Skrycki

0 likes in 3 posts.

Group: User

The "Drag and drop" function is not working.
I have downloaded an examples with modeller region and I can move/change shapes in modeller but I can't add new shapes from templates bar.
Does anybody can help ?
#46 Posted: 11/18/2018 9:11:55 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I can't add new shapes from templates bar.



I can't add new shapes from templates bar.
You can only add shapes that you have created or borrowed from unknown sources

In this document, two objects were created and installed in the template
N =5 => yellow square
N 13 => light gray dodecagon

Check if it works in your SS version

modeller-demo-Kr.sm (15 KiB) downloaded 108 time(s).
#47 Posted: 11/19/2018 3:35:00 AM
Dominik Skrycki

Dominik Skrycki

0 likes in 3 posts.

Group: User

Thank you Jean for help.
I have opened your document and I see that 3 shapes (2 dodecagon and 1 square) have you added to moddeller work space from template bar.
But I can't select and add any shape from template.
As I said - drag and drop function not works.

One more thing.
I have downloaded "RainboGame.exe" and drag and drop function works fine.
But it has not work in "exe" files created by me.
#48 Posted: 11/19/2018 6:00:38 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

At the moment I cannot drag any object from the template pane to the modeller region.


Wrote

The "Drag and drop" function is not working



Updated, please try now.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#49 Posted: 11/19/2018 1:18:05 PM
Dominik Skrycki

Dominik Skrycki

0 likes in 3 posts.

Group: User

Thank you Davide for help.
Now I can drag and drop shapes but I can't zoom in and out shapes using mouse scroll.
#50 Posted: 11/19/2018 8:37:39 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

You're welcome

Wrote

Now I can drag and drop shapes but I can't zoom in and out shapes using mouse scroll.


You can only zoom the modeller canvas, not the single shapes (even in previous versions).


P.S. another update made because templates weren't detected on mouse move (no template name shown, f.e.)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#51 Posted: 11/19/2018 9:21:08 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

You can only zoom the modeller canvas, not the single shapes (even in previous versions).


SS 6179, zoom is by handles and thus fabricate otherwise than native.
1. The blue line come automatically 45° ... make it as thick as desired.
2. The arrow, you can rotate at will from the creation.
Observe the the empty "" fill arrow
3. Fill color applies to closed shapes
4. for some weird figure it can be done by digitizing and collecting the XY vector.
Modeler takes only pairwise XY vector ... not matrix

Modeller.PNG

modeller-demo-Kr.sm (27 KiB) downloaded 89 time(s).
#52 Posted: 11/19/2018 10:05:03 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... Airfoil added Observe => [5*Airfoil,"red",2,clr]

Modeller_1.PNG

modeller-demo-Kr.sm (39 KiB) downloaded 86 time(s).
#53 Posted: 11/19/2018 10:32:35 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... streamlines added around airfoil
Some cleanup needed ...

Modeller_2.PNG

modeller-demo-Kr.sm (133 KiB) downloaded 105 time(s).
#54 Posted: 12/31/2019 4:23:50 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


See attached.

Modeller - Shapes - Canvas Center.sm (11 KiB) downloaded 98 time(s).
#55 Posted: 12/31/2019 5:33:43 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


Maybe YES ... in the attached objects are disposed/located.

modeller-demo-Kr.sm (162 KiB) downloaded 72 time(s).
#56 Posted: 1/1/2020 12:02:19 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?


AFAIK, not as you state it. Why do that ?
1. Slide the shape [circle] in the canvas.
2. Click-in to see the dotted frame [3 big black dots per side]
3. Double click to get the coordinated [X,Y]...[0,0 = centered canvas]
...width/height for circle/ellipse ...size the shape [zoom ±].
If you have some difficulties ... please don't hesitate.
#57 Posted: 1/1/2020 12:51:16 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... you can toy things for an all evening demo.

Modeller.PNG

modeller-demo-Kr.sm (164 KiB) downloaded 76 time(s).
#58 Posted: 1/3/2020 10:04:16 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Jean, in your example you could specify an appropriate default size of the objects. Then the arrow template doesn't appear as a single dot any more.

2020-01-03 13_59_21-SMath Studio 0.99.7251 - [modeller-demo-Kr.sm_].png
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#59 Posted: 1/3/2020 10:47:42 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Is there anyway to have the center of the modeler canvas moved so that (0,0) is not at the center?



Yes, but to make it interactive, you need slider regions. Use a function as predefined layout. It's third and fourth arguments are channels to convey the canvas co-ordinates.
The canvas is centered at these co-ordinates, evaluated for the default scale.
The default scale is given by the second entry of the dependent layout row vector.

Modeller%20-%20Shapes%20-%20Canvas%20Center_Kr.sm (13 KiB) downloaded 100 time(s).
2020-01-03 14_33_43-SMath Studio 0.99.7251 - [Modeller%20-%20Shapes%20-%20Canvas%20Center.sm_].png

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
frapuano 1/3/2020 3:37:00 PM, Jason McCool 4/10/2021 12:34:00 AM
#60 Posted: 1/3/2020 12:00:42 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Jean, in your example you could specify an appropriate default size of the objects. Then the arrow template doesn't appear as a single dot any more.


Thanks Martin, most appreciated ... updated.

modeller-demo-Kr.sm (162 KiB) downloaded 122 time(s).

  • New Posts New Posts
  • No New Posts No New Posts