pboyer / verb Goto Github PK
View Code? Open in Web Editor NEWOpen-source, cross-platform NURBS
Home Page: http://www.verbnurbs.com
License: MIT License
Open-source, cross-platform NURBS
Home Page: http://www.verbnurbs.com
License: MIT License
Is it possible, to improved greatly?
The full log is
PS C:\Users\brad\surfboarddesigner\node_modules> npm install verb-nurbs-web
> [email protected] install C:\Users\brad\surfboarddesigner\node_modules\webworker-threads
> node-gyp rebuild
C:\Users\brad\surfboarddesigner\node_modules\webworker-threads>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
WebWorkerThreads.cc
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(140): error C2660: 'v8::String::Utf8Length': function d
oes not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2818): note: see declaration of 'v8::String::Utf8Length'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(142): error C2660: 'v8::String::Utf8Length': function d
oes not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2818): note: see declaration of 'v8::String::Utf8Length'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(165): error C2660: 'v8::Value::Int32Value': function do
es not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2709): note: see declaration of 'v8::Value::Int32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(175): error C2661: 'v8::Value::BooleanValue': no overlo
aded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(176): error C2660: 'v8::Value::Int32Value': function do
es not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2709): note: see declaration of 'v8::Value::Int32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(177): warning C4996: 'v8::Object::Get': was declared de
precated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3553): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(178): error C2660: 'v8::Value::IntegerValue': function
does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2705): note: see declaration of 'v8::Value::IntegerValue'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(179): error C2660: 'v8::Value::NumberValue': function d
oes not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2704): note: see declaration of 'v8::Value::NumberValue'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(180): warning C4996: 'v8::Object::Get': was declared de
precated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3553): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(182): error C2660: 'v8::String::Utf8Length': function d
oes not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2818): note: see declaration of 'v8::String::Utf8Length'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.h(184): error C2660: 'v8::String::WriteUtf8': function do
es not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2878): note: see declaration of 'v8::String::WriteUtf8'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(51): error C2661: 'v8::Value::ToString': no overloaded
function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(71): error C2660: 'v8::String::Utf8Length': function d
oes not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2818): note: see declaration of 'v8::String::Utf8Length'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(77): error C2660: 'v8::String::WriteUtf8': function do
es not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2878): note: see declaration of 'v8::String::WriteUtf8'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(440): error C2661: 'v8::Object::Has': no overloaded fu
nction takes 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(469): warning C4996: 'v8::Object::Set': was declared d
eprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(511): error C2661: 'v8::Value::ToString': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(511): error C2660: 'v8::RegExp::New': function does no
t take 2 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(5589): note: see declaration of 'v8::RegExp::New'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(527): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(690): error C2660: 'v8::FunctionTemplate::GetFunction'
: function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxpr
oj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(690): error C2664: 'Nan::Maybe<bool> Nan::DefineOwnPro
perty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argument 3 from 'v
8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerTh
reads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(690): note: No user-defined-conversion operator avai
lable that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(715): error C2661: 'v8::Value::ToString': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(714): warning C4996: 'v8::Object::Get': was declared d
eprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3557): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(789): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(791): error C2661: 'v8::Object::Has': no overloaded fu
nction takes 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(792): error C2661: 'v8::Value::ToBoolean': no overload
ed function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(797): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(818): warning C4530: C++ exception handler used, but u
nwind semantics are not enabled. Specify /EHsc [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThr
eads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(864): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(865): error C2661: 'v8::Object::Has': no overloaded fu
nction takes 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(870): error C2660: 'v8::Function::Call': function does
not take 3 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(4298): note: see declaration of 'v8::Function::Call'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(872): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(898): error C2661: 'v8::Value::BooleanValue': no overl
oaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(914): error C2661: 'v8::Value::BooleanValue': no overl
oaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(935): error C2661: 'v8::Value::ToString': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(951): error C2661: 'v8::Value::BooleanValue': no overl
oaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(976): error C2661: 'v8::Value::ToObject': no overloade
d function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(980): error C2660: 'v8::Value::Uint32Value': function
does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2707): note: see declaration of 'v8::Value::Uint32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(981): error C2661: 'v8::Value::BooleanValue': no overl
oaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(982): error C2661: 'v8::Value::BooleanValue': no overl
oaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1021): error C2661: 'v8::Value::ToObject': no overload
ed function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1022): error C2660: 'v8::Value::Uint32Value': function
does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2707): note: see declaration of 'v8::Value::Uint32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1023): error C2660: 'v8::Value::Uint32Value': function
does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2707): note: see declaration of 'v8::Value::Uint32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1024): error C2660: 'v8::Value::Uint32Value': function
does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2707): note: see declaration of 'v8::Value::Uint32Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1029): error C2661: 'v8::Value::ToObject': no overload
ed function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1032): error C2661: 'v8::Object::Has': no overloaded f
unction takes 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1033): error C2661: 'v8::Value::ToBoolean': no overloa
ded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1051): error C2661: 'v8::Value::ToObject': no overload
ed function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\bson.cc(1058): warning C4996: 'v8::Object::Set': was declared
deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(32): error C2664: 'v8::String::Utf8Value::Utf8Value(c
onst v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &' [C:\User
s\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(32): note: Reason: cannot convert from 'v8::Local<v
8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(32): note: No user-defined-conversion operator avai
lable that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(40): error C2664: 'v8::String::Utf8Value::Utf8Value(c
onst v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &' [C:\User
s\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(40): note: Reason: cannot convert from 'v8::Local<v
8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(40): note: No user-defined-conversion operator avai
lable that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(41): error C2660: 'v8::Message::GetLineNumber': funct
ion does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1907): note: see declaration of 'v8::Message::GetLineNumbe
r'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(44): error C2660: 'v8::Message::GetSourceLine': funct
ion does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1882): note: see declaration of 'v8::Message::GetSourceLin
e'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(44): error C2512: 'v8::String::Utf8Value::Utf8Value':
no appropriate default constructor available [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThre
ads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(66): error C2664: 'v8::String::Utf8Value::Utf8Value(c
onst v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value &' [C:\User
s\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(66): note: Reason: cannot convert from 'v8::Local<v
8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(66): note: No user-defined-conversion operator avai
lable that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(77): error C2440: '<function-style-cast>': cannot con
vert from 'v8::Local<v8::String>' to 'v8::String::Utf8Value' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\buil
d\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(77): note: No constructor could take the source typ
e, or constructor overload resolution was ambiguous
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(121): error C2661: 'v8::Object::GetPropertyNames': no
overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcx
proj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(125): error C2440: '<function-style-cast>': cannot co
nvert from 'v8::Local<v8::String>' to 'v8::String::Utf8Value' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\bui
ld\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(125): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(125): warning C4473: 'fprintf' : not enough arguments
passed for format string [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(125): note: placeholders and their parameters expec
t 2 variadic arguments, but 1 were provided
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(125): note: the missing variadic argument 2 is requ
ired by format string '%s'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(132): error C2440: '<function-style-cast>': cannot co
nvert from 'v8::Local<v8::String>' to 'v8::String::Utf8Value' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\bui
ld\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(132): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(132): warning C4473: 'fprintf' : not enough arguments
passed for format string [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(132): note: placeholders and their parameters expec
t 2 variadic arguments, but 1 were provided
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(132): note: the missing variadic argument 2 is requ
ired by format string '%s'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(149): error C2440: '<function-style-cast>': cannot co
nvert from 'v8::Local<v8::String>' to 'v8::String::Utf8Value' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\bui
ld\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(149): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(149): warning C4473: 'fprintf' : not enough arguments
passed for format string [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(149): note: placeholders and their parameters expec
t 2 variadic arguments, but 1 were provided
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(149): note: the missing variadic argument 2 is requ
ired by format string '%s'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(154): error C2440: '<function-style-cast>': cannot co
nvert from 'v8::Local<v8::String>' to 'v8::String::Utf8Value' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\bui
ld\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(154): note: No constructor could take the source ty
pe, or constructor overload resolution was ambiguous
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(154): warning C4473: 'fprintf' : not enough arguments
passed for format string [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(154): note: placeholders and their parameters expec
t 2 variadic arguments, but 1 were provided
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(154): note: the missing variadic argument 2 is requ
ired by format string '%s'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(124): warning C4996: 'v8::Object::Get': was declared
deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3553): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\jslib.cc(141): warning C4996: 'v8::Object::Get': was declared
deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3557): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(168): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(168): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(168): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(182): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(182): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(182): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(258): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(258): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(258): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(262): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(262): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(262): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(263): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(263): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(263): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(269): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(269): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(269): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(270): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(270): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(270): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(272): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(272): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(272): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(273): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(273): error C2664: 'Nan::Maybe<bool> Nan::
DefineOwnProperty(v8::Local<v8::Object>,v8::Local<v8::String>,v8::Local<v8::Value>,v8::PropertyAttribute)': cannot convert argume
nt 3 from 'v8::PropertyAttribute' to 'v8::Local<v8::Value>' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build
\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(273): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(279): error C2660: 'v8::FunctionTemplate::
GetFunction': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerT
hreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6126): note: see declaration of 'v8::FunctionTemplate::Get
Function'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(279): error C2661: 'v8::Object::Set': no o
verloaded function takes 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxpr
oj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(280): error C2660: 'v8::Script::Compile':
function does not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj
]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1500): note: see declaration of 'v8::Script::Compile'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(281): error C2660: 'v8::Script::Compile':
function does not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj
]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1500): note: see declaration of 'v8::Script::Compile'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(285): error C2660: 'v8::Script::Compile':
function does not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj
]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1500): note: see declaration of 'v8::Script::Compile'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(334): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(334): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(334): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(383): error C2661: 'v8::Value::ToObject':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(407): error C2660: 'v8::Value::NumberValue
': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxp
roj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2704): note: see declaration of 'v8::Value::NumberValue'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(278): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3498): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(283): warning C4996: 'v8::Object::Get': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3553): note: see declaration of 'v8::Object::Get'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(359): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(384): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(555): error C2661: 'v8::Value::ToObject':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(530): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(556): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(615): error C2661: 'v8::Value::ToObject':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(618): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(618): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(618): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(631): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::String>' to 'const v8::String::Utf8Valu
e &' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(631): note: Reason: cannot convert from
'v8::Local<v8::String>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(631): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(673): error C2661: 'v8::Value::ToString':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(681): error C2661: 'v8::Value::ToObject':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(713): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(713): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(713): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(718): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(718): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(718): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(743): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(743): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(743): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(745): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(809): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::String>' to 'const v8::String::Utf8Valu
e &' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(809): note: Reason: cannot convert from
'v8::Local<v8::String>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(809): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(809): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(813): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::String>' to 'const v8::String::Utf8Valu
e &' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(813): note: Reason: cannot convert from
'v8::Local<v8::String>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(813): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(813): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3507): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(829): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(829): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(829): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(834): error C2664: 'v8::String::Utf8Value:
:Utf8Value(const v8::String::Utf8Value &)': cannot convert argument 1 from 'v8::Local<v8::Value>' to 'const v8::String::Utf8Value
&' [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(834): note: Reason: cannot convert from
'v8::Local<v8::Value>' to 'const v8::String::Utf8Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(834): note: No user-defined-conversion o
perator available that can perform this conversion, or the operator cannot be called
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(869): error C2660: 'v8::ObjectTemplate::Ne
wInstance': function does not take 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThr
eads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(6423): note: see declaration of 'v8::ObjectTemplate::NewIn
stance'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(875): error C2660: 'v8::Script::Compile':
function does not take 1 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj
]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(1500): note: see declaration of 'v8::Script::Compile'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(876): error C2661: 'v8::Value::ToObject':
no overloaded function takes 0 arguments [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.v
cxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(870): warning C4996: 'v8::Object::Set': wa
s declared deprecated [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3498): note: see declaration of 'v8::Object::Set'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2065: 'Handle': undeclared id
entifier [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2275: 'v8::Object': illegal u
se of this type as an expression [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(3496): note: see declaration of 'v8::Object'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2065: 'target': undeclared id
entifier [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2275: 'v8::Value': illegal us
e of this type as an expression [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\appdata\local\node-gyp\cache\12.18.4\include\node\v8.h(2380): note: see declaration of 'v8::Value'
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2065: 'module': undeclared id
entifier [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): error C2062: type 'void' unexpected
[C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
c:\users\brad\surfboarddesigner\node_modules\webworker-threads\src\webworkerthreads.cc(900): fatal error C1003: error count excee
ds 100; stopping compilation [C:\Users\brad\surfboarddesigner\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\brad\surfboarddesigner\node_modules\webworker-threads
gyp ERR! node -v v12.18.4
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
Hi Peter. How to decrease step of tessellation for surfaces? Need smoother edges
Code:
var c0 = verb.geom.NurbsCurve.byKnotsControlPointsWeights( 4, [0,0,0,0,0, 1,1,1,1, 1], [ [-108, -15, 0], [-44, -10, 0], [-18,-5,0], [-8,-2,0], [-1,18,0] ], [ 0.1, 0.2, 0.3, 0.4, 0.5 ] );
var c1 = verb.geom.NurbsCurve.byKnotsControlPointsWeights( 4, [0,0,0,0,0, 1,1,1,1, 1], [ [-108, -19, 10], [-44, -14, 11], [-18,-9,8], [-8,-6,4], [-1,14,6] ], [ 0.1, 0.2, 0.3, 0.4, 0.5 ] );
var curves = [c0, c1];
var srf = verb.geom.NurbsSurface.byLoftingCurves( curves, 1 );
addMeshToScene( srf.toThreeGeometry() );
curves.forEach(function(c){ addCurveToScene( c.toThreeGeometry() ); });
What is about to continue your work?
There is no good open source NURBS.
npm install
fails on Win10.
Updating to latest npm (3.10.8) allowed node-gyp to compile native sources, but link failed.
Updating verb deps to use latest node-webworker-threads (0.7.8) allowed node-gyp to link.
See helpful discussion.
I downloaded the minified javascript directly from the site at this url:
http://verbnurbs.com/js/verb.min.js
But, when i require in this library in node, I get a stack like:
Error: Cannot find module 'numeric'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/bdwyer/git/vecdraw/lib/verb.js:2:258)
Also, AFAICT, 'numeric' isn't listed as a dependency in package.json
Hi,
Not sure if this great repo is still maintained, but I am gonna ask any ways.
Wondering if there is any way to increase the subdivision count (number of triangles) without increasing the number of control points for byKnotsControlPointsWeights
and byCorners
? This is particularly useful when using verb.geom.NurbsSurface.byCorners
when I use it with 4 corners, most of the times I can see the surface (texture) being triangulated. I am working in 2D only.
Thanks in advance.
Hi,
I've been using verb for a few weeks. I was just wondering if there are any docs for how the intersection algorithm works?
I Am looking at extending this code so you can compute the surface area and volume of intersected regions. Any pointers on this would be great!
Best,
Henry
Hello,
I'm try to use your Lib under C# and after compiling to C# all objects:
Point, Vector, Matrix, KnotArray
due to typdef
usage are transformed to
Array<object>
in .cs files
Any help with that?
Hi, is there a way to trim surfaces and create holes in verb ?
I think this check in the verb.js
header, is not correct
// node.js context, but not WebWorker
if ( typeof window !== 'object' && typeof require === "function"){
Worker = require('webworker-threads').Worker;
}
Try opening one of your examples, like http://verbnurbs.com/examples/curveClosestPoint.html
and set a breakpoint there. You can see that window
is not defined, even though we are in the browser. Furthermore, it is defined one step above in the call stack.
This makes it think that it's in a node context. In this case nothing happens, because require
is not defined. But if you use verb inside a library that it's browserified, require
will be defined, and it will require webworker-threads
, which creates further problems (browserify won't work if it's not installed, and if you do install it, it will fail at runtime since it's not meant to run in the browser)
In conclusion, either the check is not correct, or window
should somehow be defined there when running from a browser.
Hi,
tried to compile verb into C# and use the dll in a Unity3D project. Unfortunately, only adding the Verb.dll to my project generates a lot of errors in the Unity Editor. I am quite unsure why this happens, seems to be related to System.Type.
Example error msg:
/Applications/Unity/Hub/Editor/2019.2.12f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/UI/Core/DefaultControls.cs(179,85): error CS1503: Argument 3: cannot convert from 'System.Type' to 'Type'
Thanks in advance for any hints why this happens or what is the best approach to use Verb in Unity.
Best,
fwerre
The approach here is the following:
I need to rotate Nurbs Curve, I tried using the .transform method to change rotate using matrix but to no avail.
Look at my code
`
let cNurbsW = new verb.geom.NurbsCurve(arrayCurvesWidth[0]);
let tempAngle = MathUtils.degToRad(45)
cNurbsW.transform(
[
[Math.cos(tempAngle), -Math.sin(tempAngle), 0, 0],
[Math.sin(tempAngle), Math.cos(tempAngle), 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1]
]
)
`
How to i rotate my NubsCurve?
Hello,
I am trying to compile Verb on MacOS 10.15.2
I have installed haxelib 4.0.2, nodeJS 6.12.0 and Xcode 11.3 and when I try to compile Verb for C# I got the following error:
src/verb/eval/Intersect.hx:518: characters 9-12 : Missing variable identifier
What am i doing wrong?
Thanks
The
verb.core.Modify.curveReverse
return new verb.core.types.NurbsCurveData(curve.degree(),verb.core.Modify.knotsReverse(curve.knots()),verb.core.ArrayExtensions.reversed(curve.controlPoints()));
was missing all the "()" after the call to the functions (curve.degree() was curve.degree)
would like to help, but need a serious help on how to work in haxe,
Greetings.
It would be especially useful to have support for exporting to Wavefront OBJ, OpenNURBS or IGES.
Unbeknownst to most people, OBJ has (trimmed) NURBS support which is natively understood by e.g. Autodesk Maya or Rhinoceros3D. See e.g. Paul Bourke's website for a format description including these features.
That way the library can be used to generate procedural geometry for such applications.
"Verb.hx:56: verb 0.2.0" verb.js:178:202
TypeError: verb.topo.Boolean.split is not a function
I'm trying to build Verb, but I get linker errors that seem to be related to HXCPP.
Severity Code Description Project File Line Suppression State
Error LNK1120 7 unresolved externals verbstest V:\verbstest\x64\Debug\verbstest.exe 1
Error LNK2001 unresolved external symbol "int hx::gMarkID" (?gMarkID@hx@@3HA) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2001 unresolved external symbol "int hx::gMarkIDWithContainer" (?gMarkIDWithContainer@hx@@3HA) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2001 unresolved external symbol "public: static class hx::ObjectPtr<class hx::Class_obj> hx::ArrayBase::__mClass" (?__mClass@ArrayBase@hx@@2V?$ObjectPtr@VClass_obj@hx@@@2@A) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2001 unresolved external symbol "struct hx::TLSData<class hx::StackContext,1> hx::tlsStackContext" (?tlsStackContext@hx@@3U?$TLSData@VStackContext@hx@@$00@1@A) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2001 unresolved external symbol "unsigned int * hx::gImmixStartFlag" (?gImmixStartFlag@hx@@3PAIA) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2001 unresolved external symbol "unsigned int hx::gPrevMarkIdMask" (?gPrevMarkIdMask@hx@@3IA) verbstest V:\verbstest\verbstest\main.obj 1
Error LNK2019 unresolved external symbol "void __cdecl __hxt_gc_new(struct hx::StackContext *,void *,int,char const *)" (?__hxt_gc_new@@YAXPEAUStackContext@hx@@PEAXHPEBD@Z) referenced in function "public: static void * __cdecl hx::ImmixAllocator::alloc(class hx::ImmixAllocator *,unsigned __int64,bool,char const *)" (?alloc@ImmixAllocator@hx@@SAPEAXPEAV12@_K_NPEBD@Z) verbstest V:\verbstest\verbstest\main.obj 1
I have the compile results BuildTool.lib and Host.lib, and I don't know what else I might be missing.
awesome to see nurbs being developed for javascript.
i use grasshopper and used to use nuke and flame and flint. all node based tools.
i am using a different rendering engine. OSGJS. i used to use three. i am thinking of forking but dont want to split things as frankly the nurbs does my head in. BTW there is no real standard for what nurbs is from what i could see. Its not interoperable. Mckneel have theirs that they call open nurbs, and its not open. Mhh.. Cad world is very closed.
so i was wondering if the nurbs data flow can be separated from the rendering engine ? it will also help make testing much easier..
Looks like a nice lib. Would be easier to try out in .Net if there was a nuget package available.
Anyone know how to make a surface of a closed curve? I can only find a way to extract the "wireframe" from a surface, but not the other way around.
Add support for handling BRep objects.
Hi,
A quick question about the intersection issue: if we represent all types of curve using nurbs, including circle/ellipse etc, then will the intersection function in this library return the accurate intersection result? and how about the performance?
Thank you.
Hi,
I am trying the first test but verb is empty
Running "mochaTest:test" (mochaTest) task
src/verb/Verb.hx:45: verb 2.1.0
{}
>> Mocha exploded!
>> TypeError: Cannot read property 'WorkerPool' of undefined
I note that using the threeMeshIntersectExample.html style for drawing/rendering/viewing seems more chunky and less smooth than the renderings that geometry.html.
Also I couldn't tell how to turn on the triangle lines (they seem to add some definition for what I am doing now) in the threeMeshIntersectExample.html and likewise I couldn't tell how to turn them off using the geometry.html style. It would be nice to have a check box for this.
I am having an issue compiling in C++ using Haxe and Promhx. I am not very familiar with Haxe but the issue seems to be with functions having "double returns". The returns look something like this:
return Dispatcher.dispatchMethod(Divide, 'surfaceSplit', [_data, u, useV]) .then(function(s){ return s.map(function(x){ return new NurbsSurface(x); }); });
The error is
cannot convert from 'hx::ObjectPtr<promhx::Promise_obj.' to 'Array<Dynamic>'
This happens when trying to call buildcpp.hxml with Haxe.
From what I can understand the resulting C++ is not returning the correct type for the defined function. I so far have two instances: The resulting Intersect.cpp and NurbsSurface.cpp.
I have all the current dependencies installed. I'd appreciate any help.
Minimal failing example -- run:
verb.geom.NurbsCurve.byPoints([[0,0,0],[0,0,0],[1,1,1]], 1);
The call does not have any errors, but the resulting curve's control point x,y, and z coordinates come out as NaN -- the NaNs are set inside basisFunctionsGivenKnotSpanIndex
If this result is expected from the algorithm, perhaps validating or sanitizing the input on byPoints would be advisable. Alternately, could document input requirements on this method.
I am trying to install verb (long time developer though new to haxe + verb)
... just installed haxe (version 1:3.0.0~svn6707-4 ) on ubuntu 14.10
then successfully installed these two haxe libraries
haxelib install promhx
You already have promhx version 1.0.17 installed
haxelib install nodejs
Current version is now 2.2.6
git clone https://github.com/pboyer/verb.git
cd ~/other_src/verb
npm install .
which installed node modules OK
here is the error
grunt build
Running "haxe:hxml" (haxe) task
Building Haxe project...
buildjs.hxml
src/verb/geom/Intersect.hx:3: characters 7-21 : Class not found : promhx.Promise
Fatal error: Error
... after doing some digging I am correctly finding that haxe library I believe as per command
haxelib path promhx
/home/stens/haxe/lib/promhx/1,0,17/
-D promhx
Any advice would be appreciated ... cheers Scott Stensland
Hi, @pboyer
In docs you write that one can use verb with require.js (AMD) or browserify (commonjs) in the browser or in node.js.
But, doing require('verb-nurbs')
actually fails with Uncaught TypeError: exists is not a function
at verb#L29
-> node-webworker-threads#L1
-> node-bindings#L55
-> node-bindings#L153
.
Would you provide any suggestions?
Question title is self-explaining. After longer than 3 hours, I still could not find a way to build the Verb.lib (MSVC) in x64.
I just discovered verbs, which looks very interesting!
I explore the documentations, and has some remarks on the form itself, to help you to improve them. ๐ Writing them as I explore (quickly) the doc.
Array<Point>
(OK), except I can't find Point
in the drop-down menus of the various modules... I had the idea to look at Line
which explains what Point is, but I think it is worth a specific entry.Well, I have to stop here, but I will come back to this interesting library later!
I tried converting the example here:
https://github.com/pboyer/verb/blob/master/example/threeMeshIntersectExample.html#L345
to be a parabolic concave surface but am totally new to NURBS. I thought this would work but it doesn't, and I can't seem to find any help online :/
var degree = 2
, knots = [0, 0, 1, 1]
, pts = [ [ [0, 0, 0], [10, 0, 10], [20, 0, 10] , [30, 0, 0] ],
[ [0, 10, 0], [10, 10, 10], [20, 10, 10] , [30, 10, 0] ]
]
, wts = [ [ 1, 1, 1, 1],
[ 1, 1, 1, 1]
];
srf1 = new verb.NurbsSurface( degree, knots, degree, knots, pts, wts );
Do you think you provide a parabolic surface example, and also an example of a few cycles of a sine wave? Is there some way I can specify a curve using math operators like sin and cos, without computing a bunch of polylines myself?
Hi @pboyer , I have just discovered this project and it looks amazing, but i see no recent activity since 2017. Do you still maintain this project?
Your library looks really interesting.
I would like to email you some questions but don't know how to contact you.
Ben
npm install verb will actually install this documentation generator:
https://www.npmjs.com/package/verb
There is a directory called
typing
with a file
index.d.ts in it.
For some reason it is missing geom.NurbsSurface
HOWEVER
in the root directory of the NPM package there is another index.d.ts file that does include the type NurbsSurface.
I'm not sure why there are two files and why they are different. But using
import * as verb from "verb-nurbs-web" pulls in the one from the "typing" directory which is missing the declaration.
for example NurbsCurve is found and intellisense works
but
Hi guys!
This is an amazing library. Would you guys be interested in partnering with us and working with us to integrate this into Clara.io? We already have a great set of polygon tools, along with V-Ray integration, viewer, animation, materials, etc. There is a lot of different ways we can do this.
BTW I am a major contributor to Three.JS.
Maybe let's chat via email: [email protected]?
On a desktop browser on the geometry page I can orbit each nurbs example.
Any plans for supporting mobile ?
I believe now certain frameworks support a unified touch / non touch API.
Hi,
I'm not 100% sure if this is already possible, but would be great to have function to return control points on interpolated curves
Hi,
A quick question:
Are there the intersection functions for the common analytic curves? like straightline/straightline, arc/straightline, arc/bspline, arc/arc and so on and on. It seems that we represent all curves using NURBS. If we treat all curves as NURBS to do intersection, will the result be accurate?
Thank you very much.
Is there an example of rendering surfaces using ThreeJS instead of pure WebGL? I looked in the examples folder. I was wondering how you get from one of your surfaces to a ThreeJS mesh.
I'm using the python version of verb. It seems to work great (although the whole module being compiled into on file is a little weird)
However, I've got an issue when trying to intersect two spheres. If you run the following...
from build.verb import verb_geom_Intersect as Intersect
from build.verb import verb_geom_SphericalSurface as SphericalSurface
sphere_1 = SphericalSurface(center=[1, 2, 3], radius=5)
sphere_2 = SphericalSurface(center=[1, 2, 4], radius=5)
result = Intersect.surfaces(sphere_1, sphere_2)
You get the following error...
verb 2.1.0
Traceback (most recent call last):
File "C:/dev/verb/build/intersection_example.py", line 121, in <module>
result = Intersect.surfaces(srf1, srf2, 1e-6)
File "C:\dev\verb\build\verb.py", line 10121, in surfaces
return _hx_local_1()
File "C:\dev\verb\build\verb.py", line 10120, in _hx_local_1
return list(map(_hx_local_0,verb_eval_Intersect.surfaces(first.asNurbs(),second.asNurbs(),tol)))
File "C:\dev\verb\build\verb.py", line 7085, in surfaces
tess1 = verb_eval_Tess.rationalSurfaceAdaptive(surface0)
File "C:\dev\verb\build\verb.py", line 9025, in rationalSurfaceAdaptive
arrTrees = verb_eval_Tess.divideRationalSurfaceAdaptive(surface,options)
File "C:\dev\verb\build\verb.py", line 8947, in divideRationalSurfaceAdaptive
norm = verb_core_Vec.normalized(verb_core_Vec.cross(python_internal_ArrayImpl._get((ds[0] if 0 < len(ds) else None), 1),python_internal_ArrayImpl._get((ds[1] if 1 < len(ds) else None), 0)))
File "C:\dev\verb\build\verb.py", line 5408, in normalized
return verb_core_Vec.div(arr,verb_core_Vec.norm(arr))
File "C:\dev\verb\build\verb.py", line 5603, in div
_g.append(((a[i] if i >= 0 and i < len(a) else None) / b))
ZeroDivisionError: float division by zero
Any Ideas?
The code is compiled into the web environment and will cause compilation errors due to missing modules.
// node.js context, but not WebWorker
if ( isNode() && !isWebworker() ){
Worker = require('webworker-threads').Worker;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.