Modeller Region

Modeller Region - Introduction of Modeller Region with how to use step-by-step instruction - Сообщения

#41 Опубликовано: 03.11.2018 10:28:11
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: 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 Опубликовано: 04.11.2018 13:40:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 04.11.2018 15:44:19
Martin_B

Martin_B

21 сообщений из 84 понравились пользователям.

Группа: 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 Опубликовано: 04.11.2018 22:27:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I am using 0.99 (6839)



I can reproduce Martin example [some comments added]

ModellerMartin.PNG
#45 Опубликовано: 18.11.2018 15:53:18
Dominik Skrycki

Dominik Skrycki

0 сообщений из 3 понравились пользователям.

Группа: 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 Опубликовано: 18.11.2018 21:11:55
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 106 раз(а).
#47 Опубликовано: 19.11.2018 03:35:00
Dominik Skrycki

Dominik Skrycki

0 сообщений из 3 понравились пользователям.

Группа: 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 Опубликовано: 19.11.2018 06:00:38
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 19.11.2018 13:18:05
Dominik Skrycki

Dominik Skrycki

0 сообщений из 3 понравились пользователям.

Группа: 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 Опубликовано: 19.11.2018 20:37:39
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 19.11.2018 21:21:08
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 84 раз(а).
#52 Опубликовано: 19.11.2018 22:05:03
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Modeller_1.PNG

modeller-demo-Kr.sm (39 КиБ) скачан 86 раз(а).
#53 Опубликовано: 19.11.2018 22:32:35
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Modeller_2.PNG

modeller-demo-Kr.sm (133 КиБ) скачан 99 раз(а).
#54 Опубликовано: 31.12.2019 16:23:50
Ryan Freund

Ryan Freund

19 сообщений из 339 понравились пользователям.

Группа: 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 КиБ) скачан 98 раз(а).
#55 Опубликовано: 31.12.2019 17:33:43
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 71 раз(а).
#56 Опубликовано: 01.01.2020 00:02:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 01.01.2020 00:51:16
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

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

Modeller.PNG

modeller-demo-Kr.sm (164 КиБ) скачан 70 раз(а).
#58 Опубликовано: 03.01.2020 10:04:16
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 Опубликовано: 03.01.2020 10:47:42
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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 КиБ) скачан 99 раз(а).
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 пользователям понравился этот пост
frapuano 03.01.2020 15:37:00, Jason McCool 10.04.2021 00:34:00
#60 Опубликовано: 03.01.2020 12:00:42
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 120 раз(а).

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений