Modeller Region

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

#41 已发布: 2018/11/3 10:28:11
Martin_B

Martin_B

22个赞,共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 已发布: 2018/11/4 13:40:54
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2018/11/4 15:44:19
Martin_B

Martin_B

22个赞,共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 已发布: 2018/11/4 22:27:36
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I am using 0.99 (6839)



I can reproduce Martin example [some comments added]

ModellerMartin.PNG
#45 已发布: 2018/11/18 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 已发布: 2018/11/18 21:11:55
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.04 KiB)已下载 1547 次。
#47 已发布: 2018/11/19 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 已发布: 2018/11/19 06:00:38
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/11/19 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 已发布: 2018/11/19 20:37:39
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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 已发布: 2018/11/19 21:21:08
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.66 KiB)已下载 1531 次。
#52 已发布: 2018/11/19 22:05:03
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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

Modeller_1.PNG

modeller-demo-Kr.sm (39.55 KiB)已下载 1552 次。
#53 已发布: 2018/11/19 22:32:35
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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

Modeller_2.PNG

modeller-demo-Kr.sm (133.16 KiB)已下载 1580 次。
#54 已发布: 2019/12/31 16:23:50
Ryan Freund

Ryan Freund

20个赞,共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.29 KiB)已下载 1561 次。
#55 已发布: 2019/12/31 17:33:43
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.97 KiB)已下载 1520 次。
#56 已发布: 2020/1/1 00:02:19
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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 已发布: 2020/1/1 00:51:16
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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

Modeller.PNG

modeller-demo-Kr.sm (164.23 KiB)已下载 1579 次。
#58 已发布: 2020/1/3 10:04:16
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#59 已发布: 2020/1/3 10:47:42
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: 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.6 KiB)已下载 1832 次。
2020-01-03 14_33_43-SMath Studio 0.99.7251 - [Modeller%20-%20Shapes%20-%20Canvas%20Center.sm_].png

Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
2位用户喜欢此帖子
Jason McCool 2021/4/10 00:34:00, frapuano 2020/1/3 15:37:00
#60 已发布: 2020/1/3 12:00:42
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.81 KiB)已下载 1599 次。

  • 有新帖
  • 无新帖