d_p
a,b = 4,5a = c_int(a)b = c_int(b)c = c_int()addmodule.add4_(byref(a),byref(b),byref(c))
print c.valueprint b.value
Fortran file---
subroutine add4(a,b,c) implicit none real(8),intent(in) :: a real(8),intent(inout):: b real(8),intent(inout):: c integer IT Open(unit=7, file='TEST.txt') IT=7 c = a + b b = a + c WRITE(IT,*) c , bend subroutine
here it is. I could load dll file only once, then I can't do it again.…
1- Project surface edge to boundary surface
2- Split boundary surface with the projected curve
3- Loft original surface edge with projected curves.
4- Join all for closed brep.
B.
Added by biboarchitect at 6:03am on October 23, 2013
points closer to B.. then i compared B&C.. i got 3 results again i.e points closer to B and closer to C.. now i got 4 results.. can u send me a small example..would be great..
Thank YOu…
s {0} with 0/1/2 and the values 1/1/1
{1} with 0/1/2 and the values 2/2/2
{2} with 0/1/2 and the values 3/3/3
Second data set contains 3 items {0} with 0/1/2 and the values A/A/A
{1} with 0/1/2 and the values B/B/B
{2} with 0/1/2 and the values C/C/C
After merging the 2 data sets i need as result one data set with 6 items {0} with 0/1/2 and the values 1/1/1
{1} with 0/1/2 and the values 2/2/2
{2} with 0/1/2 and the values 3/3/3
{3} with 0/1/2 and the values A/A/A
{4} with 0/1/2 and the values B/B/B
{5} with 0/1/2 and the values C/C/C
How can i realise this?…
line for a slab (box/story).
The New Polyline Parametrs are:
1. Both new and old polyline should have the same 4 segments in its beginning and its end.
2. The New Polyline changes periodically in each axis independently.
3. I each axis they are 2 main options:
A. (in each axis) The coordinate is either equal to the "old" coordinate.
OR B. Differs form the "old" coordinate in a certain gap (specific for each coordinate) and always to the same direction (specific for each coordinate).
4. When it changes from "A" type to the "B" type and back appear the change need to be gradual therefor it need to be escalate during 4 segments.
I want to be able if it is possible to have the control of:
1. changing the paired of each axis.
2. control the discreet gap of each axis and direction.
3. define the minimum size of a segment.
Thanks…
It should be 100...
2) There is an error in archive-building. I can not use the history as you did in the video ( http://www.youtube.com/watch?feature=player_embedded&v=pAHNSbbbMp0#! ). It records history just for 1 step. At the end of process, I can not move the button (under the navigator, left side of 'save history' button). There is only 0 and 1 as you can see in the screen shot.
Waiting for your reply...
Many thanks,
B. …
ing for.
Do note that you switched SDKs and programming languages at the same time. I'm not at all certain some of the loops have been translated from VB to C# correctly.
Another thing to watch out for is the different division behaviour in VB and C#:
Dim A As Int32 = 50
Dim B As Int32 = 8
Print("A/B = {0}", A / B)
will yield "A/B = 6.25", whereas:
int A = 50;
int B = 8;
Print("A/B = {0}", A / B);
will yield "A/B = 6"
In C#, when you divide two integers, the result will be an integer. In VB, the result is a double.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 7:25am on September 4, 2010